blob: ccc62b8f33dc2f4bd0240357a43f1d1cf02a0877 [file] [log] [blame]
Asish Bhattacharya8e2277f2017-07-20 18:31:55 +05301/* Copyright (c) 2016, The Linux Foundation. All rights reserved.
2 *
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
18#ifdef CONFIG_SND_SOC_INT_CODEC
19int 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