blob: 27d7c6e62d1c392fbf44b792728e98900f96705c [file] [log] [blame]
Meng Wang43bbb872018-12-10 12:32:05 +08001/* SPDX-License-Identifier: GPL-2.0-only */
Laxminath Kasam838f0b82018-10-23 20:20:18 +05302/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
Laxminath Kasam838f0b82018-10-23 20:20:18 +05303 */
4
5#ifndef _WCD937X_H
6#define _WCD937X_H
7
8#ifdef CONFIG_SND_SOC_WCD937X
9extern int wcd937x_info_create_codec_entry(struct snd_info_entry *codec_root,
Meng Wang15c825d2018-09-06 10:49:18 +080010 struct snd_soc_component *component);
Laxminath Kasam838f0b82018-10-23 20:20:18 +053011#else
12extern int wcd937x_info_create_codec_entry(struct snd_info_entry *codec_root,
Meng Wang15c825d2018-09-06 10:49:18 +080013 struct snd_soc_component *component)
Laxminath Kasam838f0b82018-10-23 20:20:18 +053014{
15 return 0;
16}
17#endif /* CONFIG_SND_SOC_WCD937X */
18
19#endif