summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorRicardo Cerqueira <devnull@localhost>2005-12-18 18:45:21 +0000
committerRicardo Cerqueira <devnull@localhost>2005-12-18 18:45:21 +0000
commitb46e4da924a68a3a4bdfa664c38b1b1d9a2dc064 (patch)
treee231c020c76cfd3d63734ba9d05d439207262d7d /linux/drivers
parent73dd6a24694bdd946516a8fdeb3acce13d93ebb4 (diff)
downloadmediapointer-dvb-s2-b46e4da924a68a3a4bdfa664c38b1b1d9a2dc064.tar.gz
mediapointer-dvb-s2-b46e4da924a68a3a4bdfa664c38b1b1d9a2dc064.tar.bz2
Fix bttv sub-device unregister
From: Christopher Pascoe <c.pascoe@itee.uq.edu.au> Fixes sub-device release for BTTV. Without this, DVB modules can't be reloaded Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/video/bttv-driver.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/linux/drivers/media/video/bttv-driver.c b/linux/drivers/media/video/bttv-driver.c
index eb9a46747..b5cba028f 100644
--- a/linux/drivers/media/video/bttv-driver.c
+++ b/linux/drivers/media/video/bttv-driver.c
@@ -1,5 +1,5 @@
/*
- $Id: bttv-driver.c,v 1.82 2005/12/17 19:12:23 mchehab Exp $
+ $Id: bttv-driver.c,v 1.83 2005/12/18 18:45:21 rmcc Exp $
bttv - Bt848 frame grabber driver
@@ -4116,8 +4116,6 @@ static int __devinit bttv_probe(struct pci_dev *dev,
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
/* add subdevices */
- if (btv->has_remote)
- bttv_sub_add_device(&btv->c, "remote");
if (bttv_tvcards[btv->c.type].has_dvb)
bttv_sub_add_device(&btv->c, "dvb");
#endif
@@ -4160,7 +4158,7 @@ static void __devexit bttv_remove(struct pci_dev *pci_dev)
wake_up(&btv->gpioq);
bttv_input_fini(btv);
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
- //bttv_sub_del_devices(&btv->c);
+ bttv_sub_del_devices(&btv->c);
#endif
/* unregister i2c_bus + input */