From 6ca48d95c7a9e7609bc3460309b6bf9c62a3e86e Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Thu, 17 Nov 2005 10:22:32 +0100 Subject: [PATCH] --- yaml --- r: 15931 b: refs/heads/master c: c8714ba160a498e249dbd32c637b85a1efa1013b h: refs/heads/master i: 15929: d915df71d716e342705bd1cf6d725946361e1167 15927: 203586171e6a9ab27f64fe43b88957674f1e2924 v: v3 --- [refs] | 2 +- trunk/include/sound/tea6330t.h | 16 ++-------------- trunk/sound/i2c/tea6330t.c | 12 ++++++++++++ 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/[refs] b/[refs] index f9798ed53fa4..f5fc9ddd7e45 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: bdbae7e62837c22c5399df0789a24e9d8a1d675f +refs/heads/master: c8714ba160a498e249dbd32c637b85a1efa1013b diff --git a/trunk/include/sound/tea6330t.h b/trunk/include/sound/tea6330t.h index 3896c0a50907..1b265bf24ee1 100644 --- a/trunk/include/sound/tea6330t.h +++ b/trunk/include/sound/tea6330t.h @@ -22,21 +22,9 @@ * */ -#include "control.h" #include "i2c.h" /* generic i2c support */ -typedef struct { - snd_i2c_device_t *device; - snd_i2c_bus_t *bus; - int equalizer; - int fader; - unsigned char regs[8]; - unsigned char mleft, mright; - unsigned char bass, treble; - unsigned char max_bass, max_treble; -} tea6330t_t; - -extern int snd_tea6330t_detect(snd_i2c_bus_t *bus, int equalizer); -extern int snd_tea6330t_update_mixer(snd_card_t * card, snd_i2c_bus_t * bus, int equalizer, int fader); +int snd_tea6330t_detect(snd_i2c_bus_t *bus, int equalizer); +int snd_tea6330t_update_mixer(snd_card_t * card, snd_i2c_bus_t * bus, int equalizer, int fader); #endif /* __SOUND_TEA6330T_H */ diff --git a/trunk/sound/i2c/tea6330t.c b/trunk/sound/i2c/tea6330t.c index 4fdd1fb57dfe..7bd4948c2a3b 100644 --- a/trunk/sound/i2c/tea6330t.c +++ b/trunk/sound/i2c/tea6330t.c @@ -24,6 +24,7 @@ #include #include #include +#include #include MODULE_AUTHOR("Jaroslav Kysela "); @@ -43,6 +44,17 @@ MODULE_LICENSE("GPL"); #define TEA6330T_GMU 0x80 /* mute control, general mute */ #define TEA6330T_EQN 0x40 /* equalizer switchover (0=equalizer-on) */ +typedef struct { + snd_i2c_device_t *device; + snd_i2c_bus_t *bus; + int equalizer; + int fader; + unsigned char regs[8]; + unsigned char mleft, mright; + unsigned char bass, treble; + unsigned char max_bass, max_treble; +} tea6330t_t; + int snd_tea6330t_detect(snd_i2c_bus_t *bus, int equalizer) { int res;