diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-04 14:07:16 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-04 14:07:16 +0000 |
commit | 337800edfc26abd2a7b3a13733836f35244d8ca5 (patch) | |
tree | 95d84b70cad400c75ae457d3db2ad0a51b22bf84 /linux/drivers/media/dvb | |
parent | edb804f93fd68c190d3c43e606f31c806343d647 (diff) | |
download | mediapointer-dvb-s2-337800edfc26abd2a7b3a13733836f35244d8ca5.tar.gz mediapointer-dvb-s2-337800edfc26abd2a7b3a13733836f35244d8ca5.tar.bz2 |
Add missing __devexit_p()
From: Jean Delvare <khali@linux-fr.org>
Add missing __devexit_p() to several drivers. Also add a few missing
__init, __devinit and __exit markers. These errors could result in
build failures depending on the kernel configuration.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r-- | linux/drivers/media/dvb/bt8xx/bt878.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/linux/drivers/media/dvb/bt8xx/bt878.c b/linux/drivers/media/dvb/bt8xx/bt878.c index 57f0f84b6..456cd8756 100644 --- a/linux/drivers/media/dvb/bt8xx/bt878.c +++ b/linux/drivers/media/dvb/bt8xx/bt878.c @@ -512,12 +512,6 @@ static int __devinit bt878_probe(struct pci_dev *dev, pci_set_master(dev); pci_set_drvdata(dev, bt); -/* if(init_bt878(btv) < 0) { - bt878_remove(dev); - return -EIO; - } -*/ - if ((result = bt878_mem_alloc(bt))) { printk(KERN_ERR "bt878: failed to allocate memory!\n"); goto fail2; @@ -583,7 +577,7 @@ static struct pci_driver bt878_pci_driver = { .name = "bt878", .id_table = bt878_pci_tbl, .probe = bt878_probe, - .remove = bt878_remove, + .remove = __devexit_p(bt878_remove), }; static int bt878_pci_driver_registered; |