blob: af3a7dc6d06bcff88f3be891f37721beb8cc80fc [file] [log] [blame]
Asish Bhattacharya8e2277f2017-07-20 18:31:55 +05301/* 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 Kasam8b1366a2017-10-05 01:44:16 +053018#if IS_ENABLED(CONFIG_SND_SOC_WCD_MBHC_LEGACY)
Asish Bhattacharya8e2277f2017-07-20 18:31:55 +053019void wcd_mbhc_legacy_init(struct wcd_mbhc *mbhc);
20#else
21static inline void wcd_mbhc_legacy_init(struct wcd_mbhc *mbhc)
22{
23}
24#endif
25
26#endif /* __WCD_MBHC_LEGACY_H__ */