summaryrefslogtreecommitdiff
path: root/board/kukui_scp/isp_p1_srv.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/kukui_scp/isp_p1_srv.c')
-rw-r--r--board/kukui_scp/isp_p1_srv.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/board/kukui_scp/isp_p1_srv.c b/board/kukui_scp/isp_p1_srv.c
index 5c2ae7c2e9..40dd37ff90 100644
--- a/board/kukui_scp/isp_p1_srv.c
+++ b/board/kukui_scp/isp_p1_srv.c
@@ -1,4 +1,4 @@
-/* Copyright 2018 The Chromium OS Authors. All rights reserved.
+/* Copyright 2018 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -20,19 +20,21 @@
static struct consumer const event_isp_consumer;
static void event_isp_written(struct consumer const *consumer, size_t count);
-static struct queue const event_isp_queue = QUEUE_DIRECT(8,
- struct isp_msg, null_producer, event_isp_consumer);
+static struct queue const event_isp_queue =
+ QUEUE_DIRECT(8, struct isp_msg, null_producer, event_isp_consumer);
static struct consumer const event_isp_consumer = {
.queue = &event_isp_queue,
- .ops = &((struct consumer_ops const) {
+ .ops = &((struct consumer_ops const){
.written = event_isp_written,
}),
};
/* Stub functions only provided by private overlays. */
#ifndef HAVE_PRIVATE_MT8183
-void isp_msg_handler(void *data) {}
+void isp_msg_handler(void *data)
+{
+}
#endif
static void event_isp_written(struct consumer const *consumer, size_t count)