summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/bt8xx/bttv-if.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/bt8xx/bttv-if.c')
-rw-r--r--linux/drivers/media/video/bt8xx/bttv-if.c11
1 files changed, 0 insertions, 11 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)
{