diff options
-rw-r--r-- | linux/drivers/media/video/bt8xx/bttv-if.c | 11 | ||||
-rw-r--r-- | linux/drivers/media/video/bt8xx/bttv.h | 4 |
2 files changed, 0 insertions, 15 deletions
diff --git a/linux/drivers/media/video/bt8xx/bttv-if.c b/linux/drivers/media/video/bt8xx/bttv-if.c index c908b3378..ecf07988c 100644 --- a/linux/drivers/media/video/bt8xx/bttv-if.c +++ b/linux/drivers/media/video/bt8xx/bttv-if.c @@ -50,17 +50,6 @@ struct pci_dev* bttv_get_pcidev(unsigned int card) return bttvs[card].c.pci; } -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) -/* with 2.6.x not needed thanks to the driver model + sysfs */ -struct i2c_adapter *bttv_get_i2c_adap(unsigned int card) -{ - if (card >= bttv_num) { - return NULL; - } - return &bttvs[card].c.i2c_adap; -} -EXPORT_SYMBOL(bttv_get_i2c_adap); -#endif int bttv_gpio_enable(unsigned int card, unsigned long mask, unsigned long data) { diff --git a/linux/drivers/media/video/bt8xx/bttv.h b/linux/drivers/media/video/bt8xx/bttv.h index 998ae850e..ed565fb8b 100644 --- a/linux/drivers/media/video/bt8xx/bttv.h +++ b/linux/drivers/media/video/bt8xx/bttv.h @@ -285,10 +285,6 @@ extern int bttv_write_gpio(unsigned int card, #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) -/* with 2.6.x not needed thanks to the driver model + sysfs, see below */ -extern struct i2c_adapter *bttv_get_i2c_adap(unsigned int card); -#endif /* ---------------------------------------------------------- */ |