asoc: codecs: Add inline keyword to all stub functions

Add inline keyword to stub functions to compile them
inline when the corresponding feature config is disabled.

Change-Id: I933d508fc0fd5c2ad8daa26be7d39eea2a3434b9
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
This commit is contained in:
Karthikeyan Mani
2019-05-13 15:21:54 -07:00
부모 586382a701
커밋 090de46cad
2개의 변경된 파일22개의 추가작업 그리고 22개의 파일을 삭제

파일 보기

@@ -1,6 +1,6 @@
/* 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 _SND_EVENT_H_
@@ -33,7 +33,7 @@ int snd_event_notify(struct device *dev, unsigned int state);
void snd_event_mstr_add_client(struct snd_event_clients **snd_clients,
int (*compare)(struct device *, void *),
void *data);
inline bool is_snd_event_fwk_enabled(void)
static inline bool is_snd_event_fwk_enabled(void)
{
return 1;
}