From 8db822a26111e41a079b4d5e9d7642fe2e3f6095 Mon Sep 17 00:00:00 2001 From: Meng Wang Date: Tue, 11 Jun 2019 10:46:48 +0800 Subject: [PATCH] asoc: bolero: remove extra semi-colon to avoid compile error Remove extra semi-colon from wsa_macro_set_spkr_gain_offset to avoid compile error when wsa-macro is disabled. Change-Id: Ic94e78822639d70a365c714ad7dd0b2091de8179 Signed-off-by: Meng Wang --- asoc/codecs/bolero/wsa-macro.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/asoc/codecs/bolero/wsa-macro.h b/asoc/codecs/bolero/wsa-macro.h index a4dc77f8f87a..fa5147631a44 100644 --- a/asoc/codecs/bolero/wsa-macro.h +++ b/asoc/codecs/bolero/wsa-macro.h @@ -1,5 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -/* Copyright (c) 2018, The Linux Foundation. All rights reserved. +/* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. */ #ifndef WSA_MACRO_H #define WSA_MACRO_H @@ -33,7 +33,7 @@ static inline int wsa_macro_set_spkr_mode(struct snd_soc_component *component, } static inline int wsa_macro_set_spkr_gain_offset( struct snd_soc_component *component, - int offset); + int offset) { return 0; }