summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-02-21 11:32:03 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-02-21 11:32:03 -0200
commit9c80adbcf166dcd24b66a43c9303138ab4be5596 (patch)
tree1aaef0996d84ee2b9ae14eaee6f15a3165a1cdda /linux/drivers/media
parenta262e03d598ee7e3f58d2b45ccbbc2b4ba7405c1 (diff)
downloadmediapointer-dvb-s2-9c80adbcf166dcd24b66a43c9303138ab4be5596.tar.gz
mediapointer-dvb-s2-9c80adbcf166dcd24b66a43c9303138ab4be5596.tar.bz2
Those bttv compat stuff is unused. Removing it.
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/video/bt8xx/bttv-if.c11
-rw-r--r--linux/drivers/media/video/bt8xx/bttv.h4
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
/* ---------------------------------------------------------- */