Meng Wang | f74efd8 | 2017-09-27 11:24:55 +0800 | [diff] [blame^] | 1 | /* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved. |
Asish Bhattacharya | 8e2277f | 2017-07-20 18:31:55 +0530 | [diff] [blame] | 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 | |
Meng Wang | f74efd8 | 2017-09-27 11:24:55 +0800 | [diff] [blame^] | 18 | #if IS_ENABLED(CONFIG_SND_SOC_INT_CODEC) |
Asish Bhattacharya | 8e2277f | 2017-07-20 18:31:55 +0530 | [diff] [blame] | 19 | int 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 |
| 24 | int 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 |