diff options
-rw-r--r-- | drivers/media/video/tvaudio.c | 13 | ||||
-rw-r--r-- | include/linux/i2c-id.h | 7 |
2 files changed, 0 insertions, 20 deletions
diff --git a/drivers/media/video/tvaudio.c b/drivers/media/video/tvaudio.c index c77914d99d15..463680b13289 100644 --- a/drivers/media/video/tvaudio.c +++ b/drivers/media/video/tvaudio.c | |||
@@ -69,7 +69,6 @@ typedef struct AUDIOCMD { | |||
69 | /* chip description */ | 69 | /* chip description */ |
70 | struct CHIPDESC { | 70 | struct CHIPDESC { |
71 | char *name; /* chip name */ | 71 | char *name; /* chip name */ |
72 | int id; /* ID */ | ||
73 | int addr_lo, addr_hi; /* i2c address range */ | 72 | int addr_lo, addr_hi; /* i2c address range */ |
74 | int registers; /* # of registers */ | 73 | int registers; /* # of registers */ |
75 | 74 | ||
@@ -1256,7 +1255,6 @@ module_param(ta8874z, int, 0444); | |||
1256 | static struct CHIPDESC chiplist[] = { | 1255 | static struct CHIPDESC chiplist[] = { |
1257 | { | 1256 | { |
1258 | .name = "tda9840", | 1257 | .name = "tda9840", |
1259 | .id = I2C_DRIVERID_TDA9840, | ||
1260 | .insmodopt = &tda9840, | 1258 | .insmodopt = &tda9840, |
1261 | .addr_lo = I2C_ADDR_TDA9840 >> 1, | 1259 | .addr_lo = I2C_ADDR_TDA9840 >> 1, |
1262 | .addr_hi = I2C_ADDR_TDA9840 >> 1, | 1260 | .addr_hi = I2C_ADDR_TDA9840 >> 1, |
@@ -1272,7 +1270,6 @@ static struct CHIPDESC chiplist[] = { | |||
1272 | }, | 1270 | }, |
1273 | { | 1271 | { |
1274 | .name = "tda9873h", | 1272 | .name = "tda9873h", |
1275 | .id = I2C_DRIVERID_TDA9873, | ||
1276 | .checkit = tda9873_checkit, | 1273 | .checkit = tda9873_checkit, |
1277 | .insmodopt = &tda9873, | 1274 | .insmodopt = &tda9873, |
1278 | .addr_lo = I2C_ADDR_TDA985x_L >> 1, | 1275 | .addr_lo = I2C_ADDR_TDA985x_L >> 1, |
@@ -1293,7 +1290,6 @@ static struct CHIPDESC chiplist[] = { | |||
1293 | }, | 1290 | }, |
1294 | { | 1291 | { |
1295 | .name = "tda9874h/a", | 1292 | .name = "tda9874h/a", |
1296 | .id = I2C_DRIVERID_TDA9874, | ||
1297 | .checkit = tda9874a_checkit, | 1293 | .checkit = tda9874a_checkit, |
1298 | .initialize = tda9874a_initialize, | 1294 | .initialize = tda9874a_initialize, |
1299 | .insmodopt = &tda9874a, | 1295 | .insmodopt = &tda9874a, |
@@ -1306,7 +1302,6 @@ static struct CHIPDESC chiplist[] = { | |||
1306 | }, | 1302 | }, |
1307 | { | 1303 | { |
1308 | .name = "tda9850", | 1304 | .name = "tda9850", |
1309 | .id = I2C_DRIVERID_TDA9850, | ||
1310 | .insmodopt = &tda9850, | 1305 | .insmodopt = &tda9850, |
1311 | .addr_lo = I2C_ADDR_TDA985x_L >> 1, | 1306 | .addr_lo = I2C_ADDR_TDA985x_L >> 1, |
1312 | .addr_hi = I2C_ADDR_TDA985x_H >> 1, | 1307 | .addr_hi = I2C_ADDR_TDA985x_H >> 1, |
@@ -1319,7 +1314,6 @@ static struct CHIPDESC chiplist[] = { | |||
1319 | }, | 1314 | }, |
1320 | { | 1315 | { |
1321 | .name = "tda9855", | 1316 | .name = "tda9855", |
1322 | .id = I2C_DRIVERID_TDA9855, | ||
1323 | .insmodopt = &tda9855, | 1317 | .insmodopt = &tda9855, |
1324 | .addr_lo = I2C_ADDR_TDA985x_L >> 1, | 1318 | .addr_lo = I2C_ADDR_TDA985x_L >> 1, |
1325 | .addr_hi = I2C_ADDR_TDA985x_H >> 1, | 1319 | .addr_hi = I2C_ADDR_TDA985x_H >> 1, |
@@ -1344,7 +1338,6 @@ static struct CHIPDESC chiplist[] = { | |||
1344 | }, | 1338 | }, |
1345 | { | 1339 | { |
1346 | .name = "tea6300", | 1340 | .name = "tea6300", |
1347 | .id = I2C_DRIVERID_TEA6300, | ||
1348 | .insmodopt = &tea6300, | 1341 | .insmodopt = &tea6300, |
1349 | .addr_lo = I2C_ADDR_TEA6300 >> 1, | 1342 | .addr_lo = I2C_ADDR_TEA6300 >> 1, |
1350 | .addr_hi = I2C_ADDR_TEA6300 >> 1, | 1343 | .addr_hi = I2C_ADDR_TEA6300 >> 1, |
@@ -1365,7 +1358,6 @@ static struct CHIPDESC chiplist[] = { | |||
1365 | }, | 1358 | }, |
1366 | { | 1359 | { |
1367 | .name = "tea6320", | 1360 | .name = "tea6320", |
1368 | .id = I2C_DRIVERID_TEA6300, | ||
1369 | .initialize = tea6320_initialize, | 1361 | .initialize = tea6320_initialize, |
1370 | .insmodopt = &tea6320, | 1362 | .insmodopt = &tea6320, |
1371 | .addr_lo = I2C_ADDR_TEA6300 >> 1, | 1363 | .addr_lo = I2C_ADDR_TEA6300 >> 1, |
@@ -1387,7 +1379,6 @@ static struct CHIPDESC chiplist[] = { | |||
1387 | }, | 1379 | }, |
1388 | { | 1380 | { |
1389 | .name = "tea6420", | 1381 | .name = "tea6420", |
1390 | .id = I2C_DRIVERID_TEA6420, | ||
1391 | .insmodopt = &tea6420, | 1382 | .insmodopt = &tea6420, |
1392 | .addr_lo = I2C_ADDR_TEA6420 >> 1, | 1383 | .addr_lo = I2C_ADDR_TEA6420 >> 1, |
1393 | .addr_hi = I2C_ADDR_TEA6420 >> 1, | 1384 | .addr_hi = I2C_ADDR_TEA6420 >> 1, |
@@ -1400,7 +1391,6 @@ static struct CHIPDESC chiplist[] = { | |||
1400 | }, | 1391 | }, |
1401 | { | 1392 | { |
1402 | .name = "tda8425", | 1393 | .name = "tda8425", |
1403 | .id = I2C_DRIVERID_TDA8425, | ||
1404 | .insmodopt = &tda8425, | 1394 | .insmodopt = &tda8425, |
1405 | .addr_lo = I2C_ADDR_TDA8425 >> 1, | 1395 | .addr_lo = I2C_ADDR_TDA8425 >> 1, |
1406 | .addr_hi = I2C_ADDR_TDA8425 >> 1, | 1396 | .addr_hi = I2C_ADDR_TDA8425 >> 1, |
@@ -1424,7 +1414,6 @@ static struct CHIPDESC chiplist[] = { | |||
1424 | }, | 1414 | }, |
1425 | { | 1415 | { |
1426 | .name = "pic16c54 (PV951)", | 1416 | .name = "pic16c54 (PV951)", |
1427 | .id = I2C_DRIVERID_PIC16C54_PV9, | ||
1428 | .insmodopt = &pic16c54, | 1417 | .insmodopt = &pic16c54, |
1429 | .addr_lo = I2C_ADDR_PIC16C54 >> 1, | 1418 | .addr_lo = I2C_ADDR_PIC16C54 >> 1, |
1430 | .addr_hi = I2C_ADDR_PIC16C54>> 1, | 1419 | .addr_hi = I2C_ADDR_PIC16C54>> 1, |
@@ -1440,8 +1429,6 @@ static struct CHIPDESC chiplist[] = { | |||
1440 | }, | 1429 | }, |
1441 | { | 1430 | { |
1442 | .name = "ta8874z", | 1431 | .name = "ta8874z", |
1443 | .id = -1, | ||
1444 | /*.id = I2C_DRIVERID_TA8874Z, */ | ||
1445 | .checkit = ta8874z_checkit, | 1432 | .checkit = ta8874z_checkit, |
1446 | .insmodopt = &ta8874z, | 1433 | .insmodopt = &ta8874z, |
1447 | .addr_lo = I2C_ADDR_TDA9840 >> 1, | 1434 | .addr_lo = I2C_ADDR_TDA9840 >> 1, |
diff --git a/include/linux/i2c-id.h b/include/linux/i2c-id.h index 9083847157a3..4862398e05bf 100644 --- a/include/linux/i2c-id.h +++ b/include/linux/i2c-id.h | |||
@@ -33,15 +33,11 @@ | |||
33 | 33 | ||
34 | #define I2C_DRIVERID_MSP3400 1 | 34 | #define I2C_DRIVERID_MSP3400 1 |
35 | #define I2C_DRIVERID_TUNER 2 | 35 | #define I2C_DRIVERID_TUNER 2 |
36 | #define I2C_DRIVERID_TDA8425 4 /* stereo sound processor */ | ||
37 | #define I2C_DRIVERID_TEA6420 5 /* audio matrix switch */ | 36 | #define I2C_DRIVERID_TEA6420 5 /* audio matrix switch */ |
38 | #define I2C_DRIVERID_TEA6415C 6 /* video matrix switch */ | 37 | #define I2C_DRIVERID_TEA6415C 6 /* video matrix switch */ |
39 | #define I2C_DRIVERID_TDA9840 7 /* stereo sound processor */ | 38 | #define I2C_DRIVERID_TDA9840 7 /* stereo sound processor */ |
40 | #define I2C_DRIVERID_SAA7111A 8 /* video input processor */ | 39 | #define I2C_DRIVERID_SAA7111A 8 /* video input processor */ |
41 | #define I2C_DRIVERID_SAA7185B 13 /* video encoder */ | 40 | #define I2C_DRIVERID_SAA7185B 13 /* video encoder */ |
42 | #define I2C_DRIVERID_TEA6300 18 /* audio mixer */ | ||
43 | #define I2C_DRIVERID_TDA9850 20 /* audio mixer */ | ||
44 | #define I2C_DRIVERID_TDA9855 21 /* audio mixer */ | ||
45 | #define I2C_DRIVERID_SAA7110 22 /* video decoder */ | 41 | #define I2C_DRIVERID_SAA7110 22 /* video decoder */ |
46 | #define I2C_DRIVERID_MGATVO 23 /* Matrox TVOut */ | 42 | #define I2C_DRIVERID_MGATVO 23 /* Matrox TVOut */ |
47 | #define I2C_DRIVERID_SAA5249 24 /* SAA5249 and compatibles */ | 43 | #define I2C_DRIVERID_SAA5249 24 /* SAA5249 and compatibles */ |
@@ -50,9 +46,7 @@ | |||
50 | #define I2C_DRIVERID_TDA7432 27 /* Stereo sound processor */ | 46 | #define I2C_DRIVERID_TDA7432 27 /* Stereo sound processor */ |
51 | #define I2C_DRIVERID_TVMIXER 28 /* Mixer driver for tv cards */ | 47 | #define I2C_DRIVERID_TVMIXER 28 /* Mixer driver for tv cards */ |
52 | #define I2C_DRIVERID_TVAUDIO 29 /* Generic TV sound driver */ | 48 | #define I2C_DRIVERID_TVAUDIO 29 /* Generic TV sound driver */ |
53 | #define I2C_DRIVERID_TDA9873 31 /* TV sound decoder chip */ | ||
54 | #define I2C_DRIVERID_TDA9875 32 /* TV sound decoder chip */ | 49 | #define I2C_DRIVERID_TDA9875 32 /* TV sound decoder chip */ |
55 | #define I2C_DRIVERID_PIC16C54_PV9 33 /* Audio mux/ir receiver */ | ||
56 | #define I2C_DRIVERID_BT819 40 /* video decoder */ | 50 | #define I2C_DRIVERID_BT819 40 /* video decoder */ |
57 | #define I2C_DRIVERID_BT856 41 /* video encoder */ | 51 | #define I2C_DRIVERID_BT856 41 /* video encoder */ |
58 | #define I2C_DRIVERID_VPX3220 42 /* video decoder+vbi/vtxt */ | 52 | #define I2C_DRIVERID_VPX3220 42 /* video decoder+vbi/vtxt */ |
@@ -63,7 +57,6 @@ | |||
63 | #define I2C_DRIVERID_INDYCAM 58 /* SGI IndyCam */ | 57 | #define I2C_DRIVERID_INDYCAM 58 /* SGI IndyCam */ |
64 | #define I2C_DRIVERID_OVCAMCHIP 61 /* OmniVision CMOS image sens. */ | 58 | #define I2C_DRIVERID_OVCAMCHIP 61 /* OmniVision CMOS image sens. */ |
65 | #define I2C_DRIVERID_MAX6900 63 /* MAX6900 real-time clock */ | 59 | #define I2C_DRIVERID_MAX6900 63 /* MAX6900 real-time clock */ |
66 | #define I2C_DRIVERID_TDA9874 66 /* TV sound decoder */ | ||
67 | #define I2C_DRIVERID_SAA6752HS 67 /* MPEG2 encoder */ | 60 | #define I2C_DRIVERID_SAA6752HS 67 /* MPEG2 encoder */ |
68 | #define I2C_DRIVERID_TVEEPROM 68 /* TV EEPROM */ | 61 | #define I2C_DRIVERID_TVEEPROM 68 /* TV EEPROM */ |
69 | #define I2C_DRIVERID_WM8775 69 /* wm8775 audio processor */ | 62 | #define I2C_DRIVERID_WM8775 69 /* wm8775 audio processor */ |