V4L/DVB (3385): Dvb: fix __init/__exit section references in av7110 driver

use __devinit/__devexit/__devexit_p() where appropriate

Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>

authored by Johannes Stezenbach and committed by Mauro Carvalho Chehab 11dc3ffa 14c255b2

+6 -5
+4 -3
drivers/media/dvb/ttpci/av7110.c
··· 2477 2477 * The same behaviour of missing VSYNC can be duplicated on budget 2478 2478 * cards, by seting DD1_INIT trigger mode 7 in 3rd nibble. 2479 2479 */ 2480 - static int av7110_attach(struct saa7146_dev* dev, struct saa7146_pci_extension_data *pci_ext) 2480 + static int __devinit av7110_attach(struct saa7146_dev* dev, 2481 + struct saa7146_pci_extension_data *pci_ext) 2481 2482 { 2482 2483 const int length = TS_WIDTH * TS_HEIGHT; 2483 2484 struct pci_dev *pdev = dev->pci; ··· 2828 2827 goto out; 2829 2828 } 2830 2829 2831 - static int av7110_detach(struct saa7146_dev* saa) 2830 + static int __devexit av7110_detach(struct saa7146_dev* saa) 2832 2831 { 2833 2832 struct av7110 *av7110 = saa->ext_priv; 2834 2833 dprintk(4, "%p\n", av7110); ··· 2975 2974 .module = THIS_MODULE, 2976 2975 .pci_tbl = &pci_tbl[0], 2977 2976 .attach = av7110_attach, 2978 - .detach = av7110_detach, 2977 + .detach = __devexit_p(av7110_detach), 2979 2978 2980 2979 .irq_mask = MASK_19 | MASK_03 | MASK_10, 2981 2980 .irq_func = av7110_irq,
+2 -2
drivers/media/dvb/ttpci/av7110_ir.c
··· 208 208 } 209 209 210 210 211 - int __init av7110_ir_init(struct av7110 *av7110) 211 + int __devinit av7110_ir_init(struct av7110 *av7110) 212 212 { 213 213 static struct proc_dir_entry *e; 214 214 ··· 248 248 } 249 249 250 250 251 - void __exit av7110_ir_exit(struct av7110 *av7110) 251 + void __devexit av7110_ir_exit(struct av7110 *av7110) 252 252 { 253 253 int i; 254 254