blob: 6918231b8b7442e2e0ef4fd53431eb35df3182e0 [file] [log] [blame]
Meng Wangf74efd82017-09-27 11:24:55 +08001/* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
Asish Bhattacharya8e2277f2017-07-20 18:31:55 +05302 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
13#ifndef __SDM660_INTERNAL
14#define __SDM660_INTERNAL
15
16#include <sound/soc.h>
17
Meng Wangf74efd82017-09-27 11:24:55 +080018#if IS_ENABLED(CONFIG_SND_SOC_INT_CODEC)
Asish Bhattacharya8e2277f2017-07-20 18:31:55 +053019int msm_int_cdc_init(struct platform_device *pdev,
20 struct msm_asoc_mach_data *pdata,
21 struct snd_soc_card **card,
22 struct wcd_mbhc_config *mbhc_cfg);
23#else
24int msm_int_cdc_init(struct platform_device *pdev,
25 struct msm_asoc_mach_data *pdata,
26 struct snd_soc_card **card,
27 struct wcd_mbhc_config *mbhc_cfg)
28{
29 return 0;
30}
31#endif
32#endif