diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-03-18 06:31:34 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-03-24 14:26:51 -0500 |
commit | 09df1c163adcf43e2c4234b52985f34b95b7634e (patch) | |
tree | 26bfc6ba4d135f932038e2b41c79d86c474d5abd /drivers | |
parent | 7c9b5048305ead226fb16def98d86f3ed67c4807 (diff) |
V4L/DVB (3548): Renamed I2C_foo addresses to I2C_ADDR_foo
I2C_foo were used for some i2c addresses. Bad, since those constants could
mean other i2c chip things.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/bt8xx/bt832.c | 2 | ||||
-rw-r--r-- | drivers/media/video/bt8xx/bttv-cards.c | 16 | ||||
-rw-r--r-- | drivers/media/video/mxb.c | 6 | ||||
-rw-r--r-- | drivers/media/video/tda7432.c | 2 | ||||
-rw-r--r-- | drivers/media/video/tda9840.c | 2 | ||||
-rw-r--r-- | drivers/media/video/tda9840.h | 2 | ||||
-rw-r--r-- | drivers/media/video/tda9875.c | 2 | ||||
-rw-r--r-- | drivers/media/video/tea6420.c | 2 | ||||
-rw-r--r-- | drivers/media/video/tea6420.h | 4 | ||||
-rw-r--r-- | drivers/media/video/tvaudio.c | 60 |
10 files changed, 49 insertions, 49 deletions
diff --git a/drivers/media/video/bt8xx/bt832.c b/drivers/media/video/bt8xx/bt832.c index cc54b62f4601..f1309d94e96e 100644 --- a/drivers/media/video/bt8xx/bt832.c +++ b/drivers/media/video/bt8xx/bt832.c | |||
@@ -39,7 +39,7 @@ | |||
39 | MODULE_LICENSE("GPL"); | 39 | MODULE_LICENSE("GPL"); |
40 | 40 | ||
41 | /* Addresses to scan */ | 41 | /* Addresses to scan */ |
42 | static unsigned short normal_i2c[] = { I2C_BT832_ALT1>>1, I2C_BT832_ALT2>>1, | 42 | static unsigned short normal_i2c[] = { I2C_ADDR_BT832_ALT1>>1, I2C_ADDR_BT832_ALT2>>1, |
43 | I2C_CLIENT_END }; | 43 | I2C_CLIENT_END }; |
44 | I2C_CLIENT_INSMOD; | 44 | I2C_CLIENT_INSMOD; |
45 | 45 | ||
diff --git a/drivers/media/video/bt8xx/bttv-cards.c b/drivers/media/video/bt8xx/bttv-cards.c index abfa6ad857a0..e869bfbab378 100644 --- a/drivers/media/video/bt8xx/bttv-cards.c +++ b/drivers/media/video/bt8xx/bttv-cards.c | |||
@@ -3046,7 +3046,7 @@ static void miro_pinnacle_gpio(struct bttv *btv) | |||
3046 | gpio_inout(0xffffff, 0); | 3046 | gpio_inout(0xffffff, 0); |
3047 | gpio = gpio_read(); | 3047 | gpio = gpio_read(); |
3048 | id = ((gpio>>10) & 63) -1; | 3048 | id = ((gpio>>10) & 63) -1; |
3049 | msp = bttv_I2CRead(btv, I2C_MSP3400, "MSP34xx"); | 3049 | msp = bttv_I2CRead(btv, I2C_ADDR_MSP3400, "MSP34xx"); |
3050 | if (id < 32) { | 3050 | if (id < 32) { |
3051 | btv->tuner_type = miro_tunermap[id]; | 3051 | btv->tuner_type = miro_tunermap[id]; |
3052 | if (0 == (gpio & 0x20)) { | 3052 | if (0 == (gpio & 0x20)) { |
@@ -3442,8 +3442,8 @@ void __devinit bttv_init_card2(struct bttv *btv) | |||
3442 | 3442 | ||
3443 | if (bttv_tvcards[btv->c.type].digital_mode == DIGITAL_MODE_CAMERA) { | 3443 | if (bttv_tvcards[btv->c.type].digital_mode == DIGITAL_MODE_CAMERA) { |
3444 | /* detect Bt832 chip for quartzsight digital camera */ | 3444 | /* detect Bt832 chip for quartzsight digital camera */ |
3445 | if ((bttv_I2CRead(btv, I2C_BT832_ALT1, "Bt832") >=0) || | 3445 | if ((bttv_I2CRead(btv, I2C_ADDR_BT832_ALT1, "Bt832") >=0) || |
3446 | (bttv_I2CRead(btv, I2C_BT832_ALT2, "Bt832") >=0)) | 3446 | (bttv_I2CRead(btv, I2C_ADDR_BT832_ALT2, "Bt832") >=0)) |
3447 | boot_bt832(btv); | 3447 | boot_bt832(btv); |
3448 | } | 3448 | } |
3449 | 3449 | ||
@@ -3452,19 +3452,19 @@ void __devinit bttv_init_card2(struct bttv *btv) | |||
3452 | 3452 | ||
3453 | /* try to detect audio/fader chips */ | 3453 | /* try to detect audio/fader chips */ |
3454 | if (!bttv_tvcards[btv->c.type].no_msp34xx && | 3454 | if (!bttv_tvcards[btv->c.type].no_msp34xx && |
3455 | bttv_I2CRead(btv, I2C_MSP3400, "MSP34xx") >=0) | 3455 | bttv_I2CRead(btv, I2C_ADDR_MSP3400, "MSP34xx") >=0) |
3456 | request_module("msp3400"); | 3456 | request_module("msp3400"); |
3457 | 3457 | ||
3458 | if (bttv_tvcards[btv->c.type].msp34xx_alt && | 3458 | if (bttv_tvcards[btv->c.type].msp34xx_alt && |
3459 | bttv_I2CRead(btv, I2C_MSP3400_ALT, "MSP34xx (alternate address)") >=0) | 3459 | bttv_I2CRead(btv, I2C_ADDR_MSP3400_ALT, "MSP34xx (alternate address)") >=0) |
3460 | request_module("msp3400"); | 3460 | request_module("msp3400"); |
3461 | 3461 | ||
3462 | if (!bttv_tvcards[btv->c.type].no_tda9875 && | 3462 | if (!bttv_tvcards[btv->c.type].no_tda9875 && |
3463 | bttv_I2CRead(btv, I2C_TDA9875, "TDA9875") >=0) | 3463 | bttv_I2CRead(btv, I2C_ADDR_TDA9875, "TDA9875") >=0) |
3464 | request_module("tda9875"); | 3464 | request_module("tda9875"); |
3465 | 3465 | ||
3466 | if (!bttv_tvcards[btv->c.type].no_tda7432 && | 3466 | if (!bttv_tvcards[btv->c.type].no_tda7432 && |
3467 | bttv_I2CRead(btv, I2C_TDA7432, "TDA7432") >=0) | 3467 | bttv_I2CRead(btv, I2C_ADDR_TDA7432, "TDA7432") >=0) |
3468 | request_module("tda7432"); | 3468 | request_module("tda7432"); |
3469 | 3469 | ||
3470 | if (bttv_tvcards[btv->c.type].needs_tvaudio) | 3470 | if (bttv_tvcards[btv->c.type].needs_tvaudio) |
@@ -3475,7 +3475,7 @@ void __devinit bttv_init_card2(struct bttv *btv) | |||
3475 | if (btv->tda9887_conf) | 3475 | if (btv->tda9887_conf) |
3476 | tda9887 = 1; | 3476 | tda9887 = 1; |
3477 | if (0 == tda9887 && 0 == bttv_tvcards[btv->c.type].has_dvb && | 3477 | if (0 == tda9887 && 0 == bttv_tvcards[btv->c.type].has_dvb && |
3478 | bttv_I2CRead(btv, I2C_TDA9887, "TDA9887") >=0) | 3478 | bttv_I2CRead(btv, I2C_ADDR_TDA9887, "TDA9887") >=0) |
3479 | tda9887 = 1; | 3479 | tda9887 = 1; |
3480 | /* Hybrid DVB card, DOES have a tda9887 */ | 3480 | /* Hybrid DVB card, DOES have a tda9887 */ |
3481 | if (btv->c.type == BTTV_BOARD_DVICO_FUSIONHDTV_5_LITE) | 3481 | if (btv->c.type == BTTV_BOARD_DVICO_FUSIONHDTV_5_LITE) |
diff --git a/drivers/media/video/mxb.c b/drivers/media/video/mxb.c index eb3b31867494..14ca251787d5 100644 --- a/drivers/media/video/mxb.c +++ b/drivers/media/video/mxb.c | |||
@@ -198,13 +198,13 @@ static int mxb_probe(struct saa7146_dev* dev) | |||
198 | /* loop through all i2c-devices on the bus and look who is there */ | 198 | /* loop through all i2c-devices on the bus and look who is there */ |
199 | list_for_each(item,&mxb->i2c_adapter.clients) { | 199 | list_for_each(item,&mxb->i2c_adapter.clients) { |
200 | client = list_entry(item, struct i2c_client, list); | 200 | client = list_entry(item, struct i2c_client, list); |
201 | if( I2C_TEA6420_1 == client->addr ) | 201 | if( I2C_ADDR_TEA6420_1 == client->addr ) |
202 | mxb->tea6420_1 = client; | 202 | mxb->tea6420_1 = client; |
203 | if( I2C_TEA6420_2 == client->addr ) | 203 | if( I2C_ADDR_TEA6420_2 == client->addr ) |
204 | mxb->tea6420_2 = client; | 204 | mxb->tea6420_2 = client; |
205 | if( I2C_TEA6415C_2 == client->addr ) | 205 | if( I2C_TEA6415C_2 == client->addr ) |
206 | mxb->tea6415c = client; | 206 | mxb->tea6415c = client; |
207 | if( I2C_TDA9840 == client->addr ) | 207 | if( I2C_ADDR_TDA9840 == client->addr ) |
208 | mxb->tda9840 = client; | 208 | mxb->tda9840 = client; |
209 | if( I2C_SAA7111 == client->addr ) | 209 | if( I2C_SAA7111 == client->addr ) |
210 | mxb->saa7111a = client; | 210 | mxb->saa7111a = client; |
diff --git a/drivers/media/video/tda7432.c b/drivers/media/video/tda7432.c index 600dacb873f4..12b8981efd13 100644 --- a/drivers/media/video/tda7432.c +++ b/drivers/media/video/tda7432.c | |||
@@ -71,7 +71,7 @@ module_param(maxvol, int, S_IRUGO | S_IWUSR); | |||
71 | 71 | ||
72 | /* Address to scan (I2C address of this chip) */ | 72 | /* Address to scan (I2C address of this chip) */ |
73 | static unsigned short normal_i2c[] = { | 73 | static unsigned short normal_i2c[] = { |
74 | I2C_TDA7432 >> 1, | 74 | I2C_ADDR_TDA7432 >> 1, |
75 | I2C_CLIENT_END, | 75 | I2C_CLIENT_END, |
76 | }; | 76 | }; |
77 | I2C_CLIENT_INSMOD; | 77 | I2C_CLIENT_INSMOD; |
diff --git a/drivers/media/video/tda9840.c b/drivers/media/video/tda9840.c index 0243700f58ae..56e08e156cf0 100644 --- a/drivers/media/video/tda9840.c +++ b/drivers/media/video/tda9840.c | |||
@@ -43,7 +43,7 @@ MODULE_PARM_DESC(debug, "Turn on/off device debugging (default:off)."); | |||
43 | #define TEST 0x04 | 43 | #define TEST 0x04 |
44 | 44 | ||
45 | /* addresses to scan, found only at 0x42 (7-Bit) */ | 45 | /* addresses to scan, found only at 0x42 (7-Bit) */ |
46 | static unsigned short normal_i2c[] = { I2C_TDA9840, I2C_CLIENT_END }; | 46 | static unsigned short normal_i2c[] = { I2C_ADDR_TDA9840, I2C_CLIENT_END }; |
47 | 47 | ||
48 | /* magic definition of all other variables and things */ | 48 | /* magic definition of all other variables and things */ |
49 | I2C_CLIENT_INSMOD; | 49 | I2C_CLIENT_INSMOD; |
diff --git a/drivers/media/video/tda9840.h b/drivers/media/video/tda9840.h index 28021053bd09..7da8432cdca7 100644 --- a/drivers/media/video/tda9840.h +++ b/drivers/media/video/tda9840.h | |||
@@ -1,7 +1,7 @@ | |||
1 | #ifndef __INCLUDED_TDA9840__ | 1 | #ifndef __INCLUDED_TDA9840__ |
2 | #define __INCLUDED_TDA9840__ | 2 | #define __INCLUDED_TDA9840__ |
3 | 3 | ||
4 | #define I2C_TDA9840 0x42 | 4 | #define I2C_ADDR_TDA9840 0x42 |
5 | 5 | ||
6 | #define TDA9840_DETECT _IOR('v',1,int) | 6 | #define TDA9840_DETECT _IOR('v',1,int) |
7 | /* return values for TDA9840_DETCT */ | 7 | /* return values for TDA9840_DETCT */ |
diff --git a/drivers/media/video/tda9875.c b/drivers/media/video/tda9875.c index 8a1e58e72c00..ccfd3b90ea9f 100644 --- a/drivers/media/video/tda9875.c +++ b/drivers/media/video/tda9875.c | |||
@@ -40,7 +40,7 @@ MODULE_LICENSE("GPL"); | |||
40 | 40 | ||
41 | /* Addresses to scan */ | 41 | /* Addresses to scan */ |
42 | static unsigned short normal_i2c[] = { | 42 | static unsigned short normal_i2c[] = { |
43 | I2C_TDA9875 >> 1, | 43 | I2C_ADDR_TDA9875 >> 1, |
44 | I2C_CLIENT_END | 44 | I2C_CLIENT_END |
45 | }; | 45 | }; |
46 | I2C_CLIENT_INSMOD; | 46 | I2C_CLIENT_INSMOD; |
diff --git a/drivers/media/video/tea6420.c b/drivers/media/video/tea6420.c index ad7d2872cfbf..b4263b630712 100644 --- a/drivers/media/video/tea6420.c +++ b/drivers/media/video/tea6420.c | |||
@@ -40,7 +40,7 @@ MODULE_PARM_DESC(debug, "Turn on/off device debugging (default:off)."); | |||
40 | do { if (debug) { printk("%s: %s()[%d]: ", KBUILD_MODNAME, __FUNCTION__, __LINE__); printk(args); } } while (0) | 40 | do { if (debug) { printk("%s: %s()[%d]: ", KBUILD_MODNAME, __FUNCTION__, __LINE__); printk(args); } } while (0) |
41 | 41 | ||
42 | /* addresses to scan, found only at 0x4c and/or 0x4d (7-Bit) */ | 42 | /* addresses to scan, found only at 0x4c and/or 0x4d (7-Bit) */ |
43 | static unsigned short normal_i2c[] = { I2C_TEA6420_1, I2C_TEA6420_2, I2C_CLIENT_END }; | 43 | static unsigned short normal_i2c[] = { I2C_ADDR_TEA6420_1, I2C_ADDR_TEA6420_2, I2C_CLIENT_END }; |
44 | 44 | ||
45 | /* magic definition of all other variables and things */ | 45 | /* magic definition of all other variables and things */ |
46 | I2C_CLIENT_INSMOD; | 46 | I2C_CLIENT_INSMOD; |
diff --git a/drivers/media/video/tea6420.h b/drivers/media/video/tea6420.h index ea664df15ad4..5ef7c18e0c54 100644 --- a/drivers/media/video/tea6420.h +++ b/drivers/media/video/tea6420.h | |||
@@ -2,8 +2,8 @@ | |||
2 | #define __INCLUDED_TEA6420__ | 2 | #define __INCLUDED_TEA6420__ |
3 | 3 | ||
4 | /* possible addresses */ | 4 | /* possible addresses */ |
5 | #define I2C_TEA6420_1 0x4c | 5 | #define I2C_ADDR_TEA6420_1 0x4c |
6 | #define I2C_TEA6420_2 0x4d | 6 | #define I2C_ADDR_TEA6420_2 0x4d |
7 | 7 | ||
8 | struct tea6420_multiplex | 8 | struct tea6420_multiplex |
9 | { | 9 | { |
diff --git a/drivers/media/video/tvaudio.c b/drivers/media/video/tvaudio.c index e68d5190cbbb..4cc0497dcbde 100644 --- a/drivers/media/video/tvaudio.c +++ b/drivers/media/video/tvaudio.c | |||
@@ -137,14 +137,14 @@ struct CHIPSTATE { | |||
137 | /* i2c addresses */ | 137 | /* i2c addresses */ |
138 | 138 | ||
139 | static unsigned short normal_i2c[] = { | 139 | static unsigned short normal_i2c[] = { |
140 | I2C_TDA8425 >> 1, | 140 | I2C_ADDR_TDA8425 >> 1, |
141 | I2C_TEA6300 >> 1, | 141 | I2C_ADDR_TEA6300 >> 1, |
142 | I2C_TEA6420 >> 1, | 142 | I2C_ADDR_TEA6420 >> 1, |
143 | I2C_TDA9840 >> 1, | 143 | I2C_ADDR_TDA9840 >> 1, |
144 | I2C_TDA985x_L >> 1, | 144 | I2C_ADDR_TDA985x_L >> 1, |
145 | I2C_TDA985x_H >> 1, | 145 | I2C_ADDR_TDA985x_H >> 1, |
146 | I2C_TDA9874 >> 1, | 146 | I2C_ADDR_TDA9874 >> 1, |
147 | I2C_PIC16C54 >> 1, | 147 | I2C_ADDR_PIC16C54 >> 1, |
148 | I2C_CLIENT_END }; | 148 | I2C_CLIENT_END }; |
149 | I2C_CLIENT_INSMOD; | 149 | I2C_CLIENT_INSMOD; |
150 | 150 | ||
@@ -1269,8 +1269,8 @@ static struct CHIPDESC chiplist[] = { | |||
1269 | .name = "tda9840", | 1269 | .name = "tda9840", |
1270 | .id = I2C_DRIVERID_TDA9840, | 1270 | .id = I2C_DRIVERID_TDA9840, |
1271 | .insmodopt = &tda9840, | 1271 | .insmodopt = &tda9840, |
1272 | .addr_lo = I2C_TDA9840 >> 1, | 1272 | .addr_lo = I2C_ADDR_TDA9840 >> 1, |
1273 | .addr_hi = I2C_TDA9840 >> 1, | 1273 | .addr_hi = I2C_ADDR_TDA9840 >> 1, |
1274 | .registers = 5, | 1274 | .registers = 5, |
1275 | 1275 | ||
1276 | .checkit = tda9840_checkit, | 1276 | .checkit = tda9840_checkit, |
@@ -1286,8 +1286,8 @@ static struct CHIPDESC chiplist[] = { | |||
1286 | .id = I2C_DRIVERID_TDA9873, | 1286 | .id = I2C_DRIVERID_TDA9873, |
1287 | .checkit = tda9873_checkit, | 1287 | .checkit = tda9873_checkit, |
1288 | .insmodopt = &tda9873, | 1288 | .insmodopt = &tda9873, |
1289 | .addr_lo = I2C_TDA985x_L >> 1, | 1289 | .addr_lo = I2C_ADDR_TDA985x_L >> 1, |
1290 | .addr_hi = I2C_TDA985x_H >> 1, | 1290 | .addr_hi = I2C_ADDR_TDA985x_H >> 1, |
1291 | .registers = 3, | 1291 | .registers = 3, |
1292 | .flags = CHIP_HAS_INPUTSEL, | 1292 | .flags = CHIP_HAS_INPUTSEL, |
1293 | 1293 | ||
@@ -1308,8 +1308,8 @@ static struct CHIPDESC chiplist[] = { | |||
1308 | .checkit = tda9874a_checkit, | 1308 | .checkit = tda9874a_checkit, |
1309 | .initialize = tda9874a_initialize, | 1309 | .initialize = tda9874a_initialize, |
1310 | .insmodopt = &tda9874a, | 1310 | .insmodopt = &tda9874a, |
1311 | .addr_lo = I2C_TDA9874 >> 1, | 1311 | .addr_lo = I2C_ADDR_TDA9874 >> 1, |
1312 | .addr_hi = I2C_TDA9874 >> 1, | 1312 | .addr_hi = I2C_ADDR_TDA9874 >> 1, |
1313 | 1313 | ||
1314 | .getmode = tda9874a_getmode, | 1314 | .getmode = tda9874a_getmode, |
1315 | .setmode = tda9874a_setmode, | 1315 | .setmode = tda9874a_setmode, |
@@ -1319,8 +1319,8 @@ static struct CHIPDESC chiplist[] = { | |||
1319 | .name = "tda9850", | 1319 | .name = "tda9850", |
1320 | .id = I2C_DRIVERID_TDA9850, | 1320 | .id = I2C_DRIVERID_TDA9850, |
1321 | .insmodopt = &tda9850, | 1321 | .insmodopt = &tda9850, |
1322 | .addr_lo = I2C_TDA985x_L >> 1, | 1322 | .addr_lo = I2C_ADDR_TDA985x_L >> 1, |
1323 | .addr_hi = I2C_TDA985x_H >> 1, | 1323 | .addr_hi = I2C_ADDR_TDA985x_H >> 1, |
1324 | .registers = 11, | 1324 | .registers = 11, |
1325 | 1325 | ||
1326 | .getmode = tda985x_getmode, | 1326 | .getmode = tda985x_getmode, |
@@ -1332,8 +1332,8 @@ static struct CHIPDESC chiplist[] = { | |||
1332 | .name = "tda9855", | 1332 | .name = "tda9855", |
1333 | .id = I2C_DRIVERID_TDA9855, | 1333 | .id = I2C_DRIVERID_TDA9855, |
1334 | .insmodopt = &tda9855, | 1334 | .insmodopt = &tda9855, |
1335 | .addr_lo = I2C_TDA985x_L >> 1, | 1335 | .addr_lo = I2C_ADDR_TDA985x_L >> 1, |
1336 | .addr_hi = I2C_TDA985x_H >> 1, | 1336 | .addr_hi = I2C_ADDR_TDA985x_H >> 1, |
1337 | .registers = 11, | 1337 | .registers = 11, |
1338 | .flags = CHIP_HAS_VOLUME | CHIP_HAS_BASSTREBLE, | 1338 | .flags = CHIP_HAS_VOLUME | CHIP_HAS_BASSTREBLE, |
1339 | 1339 | ||
@@ -1357,8 +1357,8 @@ static struct CHIPDESC chiplist[] = { | |||
1357 | .name = "tea6300", | 1357 | .name = "tea6300", |
1358 | .id = I2C_DRIVERID_TEA6300, | 1358 | .id = I2C_DRIVERID_TEA6300, |
1359 | .insmodopt = &tea6300, | 1359 | .insmodopt = &tea6300, |
1360 | .addr_lo = I2C_TEA6300 >> 1, | 1360 | .addr_lo = I2C_ADDR_TEA6300 >> 1, |
1361 | .addr_hi = I2C_TEA6300 >> 1, | 1361 | .addr_hi = I2C_ADDR_TEA6300 >> 1, |
1362 | .registers = 6, | 1362 | .registers = 6, |
1363 | .flags = CHIP_HAS_VOLUME | CHIP_HAS_BASSTREBLE | CHIP_HAS_INPUTSEL, | 1363 | .flags = CHIP_HAS_VOLUME | CHIP_HAS_BASSTREBLE | CHIP_HAS_INPUTSEL, |
1364 | 1364 | ||
@@ -1379,8 +1379,8 @@ static struct CHIPDESC chiplist[] = { | |||
1379 | .id = I2C_DRIVERID_TEA6300, | 1379 | .id = I2C_DRIVERID_TEA6300, |
1380 | .initialize = tea6320_initialize, | 1380 | .initialize = tea6320_initialize, |
1381 | .insmodopt = &tea6320, | 1381 | .insmodopt = &tea6320, |
1382 | .addr_lo = I2C_TEA6300 >> 1, | 1382 | .addr_lo = I2C_ADDR_TEA6300 >> 1, |
1383 | .addr_hi = I2C_TEA6300 >> 1, | 1383 | .addr_hi = I2C_ADDR_TEA6300 >> 1, |
1384 | .registers = 8, | 1384 | .registers = 8, |
1385 | .flags = CHIP_HAS_VOLUME | CHIP_HAS_BASSTREBLE | CHIP_HAS_INPUTSEL, | 1385 | .flags = CHIP_HAS_VOLUME | CHIP_HAS_BASSTREBLE | CHIP_HAS_INPUTSEL, |
1386 | 1386 | ||
@@ -1400,8 +1400,8 @@ static struct CHIPDESC chiplist[] = { | |||
1400 | .name = "tea6420", | 1400 | .name = "tea6420", |
1401 | .id = I2C_DRIVERID_TEA6420, | 1401 | .id = I2C_DRIVERID_TEA6420, |
1402 | .insmodopt = &tea6420, | 1402 | .insmodopt = &tea6420, |
1403 | .addr_lo = I2C_TEA6420 >> 1, | 1403 | .addr_lo = I2C_ADDR_TEA6420 >> 1, |
1404 | .addr_hi = I2C_TEA6420 >> 1, | 1404 | .addr_hi = I2C_ADDR_TEA6420 >> 1, |
1405 | .registers = 1, | 1405 | .registers = 1, |
1406 | .flags = CHIP_HAS_INPUTSEL, | 1406 | .flags = CHIP_HAS_INPUTSEL, |
1407 | 1407 | ||
@@ -1413,8 +1413,8 @@ static struct CHIPDESC chiplist[] = { | |||
1413 | .name = "tda8425", | 1413 | .name = "tda8425", |
1414 | .id = I2C_DRIVERID_TDA8425, | 1414 | .id = I2C_DRIVERID_TDA8425, |
1415 | .insmodopt = &tda8425, | 1415 | .insmodopt = &tda8425, |
1416 | .addr_lo = I2C_TDA8425 >> 1, | 1416 | .addr_lo = I2C_ADDR_TDA8425 >> 1, |
1417 | .addr_hi = I2C_TDA8425 >> 1, | 1417 | .addr_hi = I2C_ADDR_TDA8425 >> 1, |
1418 | .registers = 9, | 1418 | .registers = 9, |
1419 | .flags = CHIP_HAS_VOLUME | CHIP_HAS_BASSTREBLE | CHIP_HAS_INPUTSEL, | 1419 | .flags = CHIP_HAS_VOLUME | CHIP_HAS_BASSTREBLE | CHIP_HAS_INPUTSEL, |
1420 | 1420 | ||
@@ -1437,8 +1437,8 @@ static struct CHIPDESC chiplist[] = { | |||
1437 | .name = "pic16c54 (PV951)", | 1437 | .name = "pic16c54 (PV951)", |
1438 | .id = I2C_DRIVERID_PIC16C54_PV9, | 1438 | .id = I2C_DRIVERID_PIC16C54_PV9, |
1439 | .insmodopt = &pic16c54, | 1439 | .insmodopt = &pic16c54, |
1440 | .addr_lo = I2C_PIC16C54 >> 1, | 1440 | .addr_lo = I2C_ADDR_PIC16C54 >> 1, |
1441 | .addr_hi = I2C_PIC16C54>> 1, | 1441 | .addr_hi = I2C_ADDR_PIC16C54>> 1, |
1442 | .registers = 2, | 1442 | .registers = 2, |
1443 | .flags = CHIP_HAS_INPUTSEL, | 1443 | .flags = CHIP_HAS_INPUTSEL, |
1444 | 1444 | ||
@@ -1456,8 +1456,8 @@ static struct CHIPDESC chiplist[] = { | |||
1456 | /*.id = I2C_DRIVERID_TA8874Z, */ | 1456 | /*.id = I2C_DRIVERID_TA8874Z, */ |
1457 | .checkit = ta8874z_checkit, | 1457 | .checkit = ta8874z_checkit, |
1458 | .insmodopt = &ta8874z, | 1458 | .insmodopt = &ta8874z, |
1459 | .addr_lo = I2C_TDA9840 >> 1, | 1459 | .addr_lo = I2C_ADDR_TDA9840 >> 1, |
1460 | .addr_hi = I2C_TDA9840 >> 1, | 1460 | .addr_hi = I2C_ADDR_TDA9840 >> 1, |
1461 | .registers = 2, | 1461 | .registers = 2, |
1462 | 1462 | ||
1463 | .getmode = ta8874z_getmode, | 1463 | .getmode = ta8874z_getmode, |