Asish Bhattacharya | 8e2277f | 2017-07-20 18:31:55 +0530 | [diff] [blame] | 1 | /* Copyright (c) 2014-2017, 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 | #ifndef __WCD_MBHC_LEGACY_H__ |
| 13 | #define __WCD_MBHC_LEGACY_H__ |
| 14 | |
| 15 | #include "wcdcal-hwdep.h" |
| 16 | #include "wcd-mbhc-v2.h" |
| 17 | |
Laxminath Kasam | 8b1366a | 2017-10-05 01:44:16 +0530 | [diff] [blame] | 18 | #if IS_ENABLED(CONFIG_SND_SOC_WCD_MBHC_LEGACY) |
Asish Bhattacharya | 8e2277f | 2017-07-20 18:31:55 +0530 | [diff] [blame] | 19 | void wcd_mbhc_legacy_init(struct wcd_mbhc *mbhc); |
| 20 | #else |
| 21 | static inline void wcd_mbhc_legacy_init(struct wcd_mbhc *mbhc) |
| 22 | { |
| 23 | } |
| 24 | #endif |
| 25 | |
| 26 | #endif /* __WCD_MBHC_LEGACY_H__ */ |