Meng Wang | 43bbb87 | 2018-12-10 12:32:05 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Laxminath Kasam | 838f0b8 | 2018-10-23 20:20:18 +0530 | [diff] [blame] | 2 | /* Copyright (c) 2018, The Linux Foundation. All rights reserved. |
Laxminath Kasam | 838f0b8 | 2018-10-23 20:20:18 +0530 | [diff] [blame] | 3 | */ |
| 4 | |
| 5 | #ifndef _WCD937X_H |
| 6 | #define _WCD937X_H |
| 7 | |
| 8 | #ifdef CONFIG_SND_SOC_WCD937X |
| 9 | extern int wcd937x_info_create_codec_entry(struct snd_info_entry *codec_root, |
Meng Wang | 15c825d | 2018-09-06 10:49:18 +0800 | [diff] [blame] | 10 | struct snd_soc_component *component); |
Laxminath Kasam | 838f0b8 | 2018-10-23 20:20:18 +0530 | [diff] [blame] | 11 | #else |
| 12 | extern int wcd937x_info_create_codec_entry(struct snd_info_entry *codec_root, |
Meng Wang | 15c825d | 2018-09-06 10:49:18 +0800 | [diff] [blame] | 13 | struct snd_soc_component *component) |
Laxminath Kasam | 838f0b8 | 2018-10-23 20:20:18 +0530 | [diff] [blame] | 14 | { |
| 15 | return 0; |
| 16 | } |
| 17 | #endif /* CONFIG_SND_SOC_WCD937X */ |
| 18 | |
| 19 | #endif |