aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/au0828/au0828-i2c.c1
-rw-r--r--drivers/media/video/bt8xx/bttv-i2c.c2
-rw-r--r--drivers/media/video/cafe_ccic.c1
-rw-r--r--drivers/media/video/cx18/cx18-i2c.c1
-rw-r--r--drivers/media/video/cx231xx/cx231xx-i2c.c1
-rw-r--r--drivers/media/video/cx23885/cx23885-i2c.c1
-rw-r--r--drivers/media/video/em28xx/em28xx-i2c.c1
-rw-r--r--drivers/media/video/hdpvr/hdpvr-i2c.c1
-rw-r--r--drivers/media/video/ivtv/ivtv-i2c.c2
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-i2c-core.c1
-rw-r--r--drivers/media/video/vino.c1
-rw-r--r--drivers/media/video/w9968cf.c1
-rw-r--r--drivers/media/video/zoran/zoran_card.c1
13 files changed, 0 insertions, 15 deletions
diff --git a/drivers/media/video/au0828/au0828-i2c.c b/drivers/media/video/au0828/au0828-i2c.c
index 13e494365e70..cbdb65c34f21 100644
--- a/drivers/media/video/au0828/au0828-i2c.c
+++ b/drivers/media/video/au0828/au0828-i2c.c
@@ -320,7 +320,6 @@ static struct i2c_algorithm au0828_i2c_algo_template = {
320static struct i2c_adapter au0828_i2c_adap_template = { 320static struct i2c_adapter au0828_i2c_adap_template = {
321 .name = DRIVER_NAME, 321 .name = DRIVER_NAME,
322 .owner = THIS_MODULE, 322 .owner = THIS_MODULE,
323 .id = I2C_HW_B_AU0828,
324 .algo = &au0828_i2c_algo_template, 323 .algo = &au0828_i2c_algo_template,
325}; 324};
326 325
diff --git a/drivers/media/video/bt8xx/bttv-i2c.c b/drivers/media/video/bt8xx/bttv-i2c.c
index ebd1ee9dc871..beda363418b0 100644
--- a/drivers/media/video/bt8xx/bttv-i2c.c
+++ b/drivers/media/video/bt8xx/bttv-i2c.c
@@ -352,7 +352,6 @@ int __devinit init_bttv_i2c(struct bttv *btv)
352 /* bt878 */ 352 /* bt878 */
353 strlcpy(btv->c.i2c_adap.name, "bt878", 353 strlcpy(btv->c.i2c_adap.name, "bt878",
354 sizeof(btv->c.i2c_adap.name)); 354 sizeof(btv->c.i2c_adap.name));
355 btv->c.i2c_adap.id = I2C_HW_B_BT848; /* FIXME */
356 btv->c.i2c_adap.algo = &bttv_algo; 355 btv->c.i2c_adap.algo = &bttv_algo;
357 } else { 356 } else {
358 /* bt848 */ 357 /* bt848 */
@@ -362,7 +361,6 @@ int __devinit init_bttv_i2c(struct bttv *btv)
362 361
363 strlcpy(btv->c.i2c_adap.name, "bttv", 362 strlcpy(btv->c.i2c_adap.name, "bttv",
364 sizeof(btv->c.i2c_adap.name)); 363 sizeof(btv->c.i2c_adap.name));
365 btv->c.i2c_adap.id = I2C_HW_B_BT848;
366 memcpy(&btv->i2c_algo, &bttv_i2c_algo_bit_template, 364 memcpy(&btv->i2c_algo, &bttv_i2c_algo_bit_template,
367 sizeof(bttv_i2c_algo_bit_template)); 365 sizeof(bttv_i2c_algo_bit_template));
368 btv->i2c_algo.udelay = i2c_udelay; 366 btv->i2c_algo.udelay = i2c_udelay;
diff --git a/drivers/media/video/cafe_ccic.c b/drivers/media/video/cafe_ccic.c
index c4d181dde1ca..9c149a781294 100644
--- a/drivers/media/video/cafe_ccic.c
+++ b/drivers/media/video/cafe_ccic.c
@@ -490,7 +490,6 @@ static int cafe_smbus_setup(struct cafe_camera *cam)
490 int ret; 490 int ret;
491 491
492 cafe_smbus_enable_irq(cam); 492 cafe_smbus_enable_irq(cam);
493 adap->id = I2C_HW_SMBUS_CAFE;
494 adap->owner = THIS_MODULE; 493 adap->owner = THIS_MODULE;
495 adap->algo = &cafe_smbus_algo; 494 adap->algo = &cafe_smbus_algo;
496 strcpy(adap->name, "cafe_ccic"); 495 strcpy(adap->name, "cafe_ccic");
diff --git a/drivers/media/video/cx18/cx18-i2c.c b/drivers/media/video/cx18/cx18-i2c.c
index 8591e4fc359f..237d84841b26 100644
--- a/drivers/media/video/cx18/cx18-i2c.c
+++ b/drivers/media/video/cx18/cx18-i2c.c
@@ -190,7 +190,6 @@ static int cx18_getsda(void *data)
190/* template for i2c-bit-algo */ 190/* template for i2c-bit-algo */
191static struct i2c_adapter cx18_i2c_adap_template = { 191static struct i2c_adapter cx18_i2c_adap_template = {
192 .name = "cx18 i2c driver", 192 .name = "cx18 i2c driver",
193 .id = I2C_HW_B_CX2341X,
194 .algo = NULL, /* set by i2c-algo-bit */ 193 .algo = NULL, /* set by i2c-algo-bit */
195 .algo_data = NULL, /* filled from template */ 194 .algo_data = NULL, /* filled from template */
196 .owner = THIS_MODULE, 195 .owner = THIS_MODULE,
diff --git a/drivers/media/video/cx231xx/cx231xx-i2c.c b/drivers/media/video/cx231xx/cx231xx-i2c.c
index 33219dc4d649..58d9cc0867b9 100644
--- a/drivers/media/video/cx231xx/cx231xx-i2c.c
+++ b/drivers/media/video/cx231xx/cx231xx-i2c.c
@@ -432,7 +432,6 @@ static struct i2c_algorithm cx231xx_algo = {
432static struct i2c_adapter cx231xx_adap_template = { 432static struct i2c_adapter cx231xx_adap_template = {
433 .owner = THIS_MODULE, 433 .owner = THIS_MODULE,
434 .name = "cx231xx", 434 .name = "cx231xx",
435 .id = I2C_HW_B_CX231XX,
436 .algo = &cx231xx_algo, 435 .algo = &cx231xx_algo,
437}; 436};
438 437
diff --git a/drivers/media/video/cx23885/cx23885-i2c.c b/drivers/media/video/cx23885/cx23885-i2c.c
index 384dec34134f..4172cb387420 100644
--- a/drivers/media/video/cx23885/cx23885-i2c.c
+++ b/drivers/media/video/cx23885/cx23885-i2c.c
@@ -283,7 +283,6 @@ static struct i2c_algorithm cx23885_i2c_algo_template = {
283static struct i2c_adapter cx23885_i2c_adap_template = { 283static struct i2c_adapter cx23885_i2c_adap_template = {
284 .name = "cx23885", 284 .name = "cx23885",
285 .owner = THIS_MODULE, 285 .owner = THIS_MODULE,
286 .id = I2C_HW_B_CX23885,
287 .algo = &cx23885_i2c_algo_template, 286 .algo = &cx23885_i2c_algo_template,
288}; 287};
289 288
diff --git a/drivers/media/video/em28xx/em28xx-i2c.c b/drivers/media/video/em28xx/em28xx-i2c.c
index 27e33a287dfc..71474d31e155 100644
--- a/drivers/media/video/em28xx/em28xx-i2c.c
+++ b/drivers/media/video/em28xx/em28xx-i2c.c
@@ -459,7 +459,6 @@ static struct i2c_algorithm em28xx_algo = {
459static struct i2c_adapter em28xx_adap_template = { 459static struct i2c_adapter em28xx_adap_template = {
460 .owner = THIS_MODULE, 460 .owner = THIS_MODULE,
461 .name = "em28xx", 461 .name = "em28xx",
462 .id = I2C_HW_B_EM28XX,
463 .algo = &em28xx_algo, 462 .algo = &em28xx_algo,
464}; 463};
465 464
diff --git a/drivers/media/video/hdpvr/hdpvr-i2c.c b/drivers/media/video/hdpvr/hdpvr-i2c.c
index c4b5d1515c10..296330a0e1e5 100644
--- a/drivers/media/video/hdpvr/hdpvr-i2c.c
+++ b/drivers/media/video/hdpvr/hdpvr-i2c.c
@@ -127,7 +127,6 @@ int hdpvr_register_i2c_adapter(struct hdpvr_device *dev)
127 sizeof(i2c_adap->name)); 127 sizeof(i2c_adap->name));
128 i2c_adap->algo = &hdpvr_algo; 128 i2c_adap->algo = &hdpvr_algo;
129 i2c_adap->class = I2C_CLASS_TV_ANALOG; 129 i2c_adap->class = I2C_CLASS_TV_ANALOG;
130 i2c_adap->id = I2C_HW_B_HDPVR;
131 i2c_adap->owner = THIS_MODULE; 130 i2c_adap->owner = THIS_MODULE;
132 i2c_adap->dev.parent = &dev->udev->dev; 131 i2c_adap->dev.parent = &dev->udev->dev;
133 132
diff --git a/drivers/media/video/ivtv/ivtv-i2c.c b/drivers/media/video/ivtv/ivtv-i2c.c
index e52aa322b134..8f15a31d3f66 100644
--- a/drivers/media/video/ivtv/ivtv-i2c.c
+++ b/drivers/media/video/ivtv/ivtv-i2c.c
@@ -509,7 +509,6 @@ static struct i2c_algorithm ivtv_algo = {
509/* template for our-bit banger */ 509/* template for our-bit banger */
510static struct i2c_adapter ivtv_i2c_adap_hw_template = { 510static struct i2c_adapter ivtv_i2c_adap_hw_template = {
511 .name = "ivtv i2c driver", 511 .name = "ivtv i2c driver",
512 .id = I2C_HW_B_CX2341X,
513 .algo = &ivtv_algo, 512 .algo = &ivtv_algo,
514 .algo_data = NULL, /* filled from template */ 513 .algo_data = NULL, /* filled from template */
515 .owner = THIS_MODULE, 514 .owner = THIS_MODULE,
@@ -560,7 +559,6 @@ static int ivtv_getsda_old(void *data)
560/* template for i2c-bit-algo */ 559/* template for i2c-bit-algo */
561static struct i2c_adapter ivtv_i2c_adap_template = { 560static struct i2c_adapter ivtv_i2c_adap_template = {
562 .name = "ivtv i2c driver", 561 .name = "ivtv i2c driver",
563 .id = I2C_HW_B_CX2341X,
564 .algo = NULL, /* set by i2c-algo-bit */ 562 .algo = NULL, /* set by i2c-algo-bit */
565 .algo_data = NULL, /* filled from template */ 563 .algo_data = NULL, /* filled from template */
566 .owner = THIS_MODULE, 564 .owner = THIS_MODULE,
diff --git a/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c b/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c
index 610bd848df24..a334b1a966a2 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c
+++ b/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c
@@ -540,7 +540,6 @@ static struct i2c_algorithm pvr2_i2c_algo_template = {
540static struct i2c_adapter pvr2_i2c_adap_template = { 540static struct i2c_adapter pvr2_i2c_adap_template = {
541 .owner = THIS_MODULE, 541 .owner = THIS_MODULE,
542 .class = 0, 542 .class = 0,
543 .id = I2C_HW_B_BT848,
544}; 543};
545 544
546 545
diff --git a/drivers/media/video/vino.c b/drivers/media/video/vino.c
index 97b082fe4473..f3b6e15d91f2 100644
--- a/drivers/media/video/vino.c
+++ b/drivers/media/video/vino.c
@@ -1776,7 +1776,6 @@ static struct i2c_algo_sgi_data i2c_sgi_vino_data = {
1776 1776
1777static struct i2c_adapter vino_i2c_adapter = { 1777static struct i2c_adapter vino_i2c_adapter = {
1778 .name = "VINO I2C bus", 1778 .name = "VINO I2C bus",
1779 .id = I2C_HW_SGI_VINO,
1780 .algo = &sgi_algo, 1779 .algo = &sgi_algo,
1781 .algo_data = &i2c_sgi_vino_data, 1780 .algo_data = &i2c_sgi_vino_data,
1782 .owner = THIS_MODULE, 1781 .owner = THIS_MODULE,
diff --git a/drivers/media/video/w9968cf.c b/drivers/media/video/w9968cf.c
index 6c3f23e31b5c..602484dd3da9 100644
--- a/drivers/media/video/w9968cf.c
+++ b/drivers/media/video/w9968cf.c
@@ -1497,7 +1497,6 @@ static int w9968cf_i2c_init(struct w9968cf_device* cam)
1497 }; 1497 };
1498 1498
1499 static struct i2c_adapter adap = { 1499 static struct i2c_adapter adap = {
1500 .id = I2C_HW_SMBUS_W9968CF,
1501 .owner = THIS_MODULE, 1500 .owner = THIS_MODULE,
1502 .algo = &algo, 1501 .algo = &algo,
1503 }; 1502 };
diff --git a/drivers/media/video/zoran/zoran_card.c b/drivers/media/video/zoran/zoran_card.c
index 03dc2f3cf84a..40d07faa4a24 100644
--- a/drivers/media/video/zoran/zoran_card.c
+++ b/drivers/media/video/zoran/zoran_card.c
@@ -732,7 +732,6 @@ zoran_register_i2c (struct zoran *zr)
732 memcpy(&zr->i2c_algo, &zoran_i2c_bit_data_template, 732 memcpy(&zr->i2c_algo, &zoran_i2c_bit_data_template,
733 sizeof(struct i2c_algo_bit_data)); 733 sizeof(struct i2c_algo_bit_data));
734 zr->i2c_algo.data = zr; 734 zr->i2c_algo.data = zr;
735 zr->i2c_adapter.id = I2C_HW_B_ZR36067;
736 strlcpy(zr->i2c_adapter.name, ZR_DEVNAME(zr), 735 strlcpy(zr->i2c_adapter.name, ZR_DEVNAME(zr),
737 sizeof(zr->i2c_adapter.name)); 736 sizeof(zr->i2c_adapter.name));
738 i2c_set_adapdata(&zr->i2c_adapter, &zr->v4l2_dev); 737 i2c_set_adapdata(&zr->i2c_adapter, &zr->v4l2_dev);