GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / sound / soc / codecs / wm8350.h
blob9ed0467c71db70b42db50e563b10abbf4485348e
1 /*
2 * wm8350.h - WM8903 audio codec interface
4 * Copyright 2008 Wolfson Microelectronics PLC.
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version.
12 #ifndef _WM8350_H
13 #define _WM8350_H
15 #include <sound/soc.h>
16 #include <linux/mfd/wm8350/audio.h>
18 extern struct snd_soc_dai wm8350_dai;
19 extern struct snd_soc_codec_device soc_codec_dev_wm8350;
21 enum wm8350_jack {
22 WM8350_JDL = 1,
23 WM8350_JDR = 2,
26 int wm8350_hp_jack_detect(struct snd_soc_codec *codec, enum wm8350_jack which,
27 struct snd_soc_jack *jack, int report);
28 int wm8350_mic_jack_detect(struct snd_soc_codec *codec,
29 struct snd_soc_jack *jack,
30 int detect_report, int short_report);
32 #endif