diff options
Diffstat (limited to 'board/kukui_scp/vdec.c')
-rw-r--r-- | board/kukui_scp/vdec.c | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/board/kukui_scp/vdec.c b/board/kukui_scp/vdec.c index eb4f1f8fa1..317d83d0d5 100644 --- a/board/kukui_scp/vdec.c +++ b/board/kukui_scp/vdec.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,23 @@ static struct consumer const event_vdec_consumer; static void event_vdec_written(struct consumer const *consumer, size_t count); -static struct queue const event_vdec_queue = QUEUE_DIRECT(8, - struct vdec_msg, null_producer, event_vdec_consumer); +static struct queue const event_vdec_queue = + QUEUE_DIRECT(8, struct vdec_msg, null_producer, event_vdec_consumer); static struct consumer const event_vdec_consumer = { .queue = &event_vdec_queue, - .ops = &((struct consumer_ops const) { + .ops = &((struct consumer_ops const){ .written = event_vdec_written, }), }; /* Stub functions only provided by private overlays. */ #ifndef HAVE_PRIVATE_MT8183 -void vdec_h264_service_init(void) {} -void vdec_h264_msg_handler(void *data) {} +void vdec_h264_service_init(void) +{ +} +void vdec_h264_msg_handler(void *data) +{ +} #endif static vdec_msg_handler mtk_vdec_msg_handle[VDEC_MAX]; |