aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/dm1105/dm1105.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/pci/dm1105/dm1105.c')
-rw-r--r--drivers/media/pci/dm1105/dm1105.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/media/pci/dm1105/dm1105.c b/drivers/media/pci/dm1105/dm1105.c
index f288ffcc4b6b..904c3ea350f5 100644
--- a/drivers/media/pci/dm1105/dm1105.c
+++ b/drivers/media/pci/dm1105/dm1105.c
@@ -616,7 +616,7 @@ static void dm1105_set_dma_addr(struct dm1105_dev *dev)
616 dm_writel(DM1105_STADR, cpu_to_le32(dev->dma_addr)); 616 dm_writel(DM1105_STADR, cpu_to_le32(dev->dma_addr));
617} 617}
618 618
619static int __devinit dm1105_dma_map(struct dm1105_dev *dev) 619static int dm1105_dma_map(struct dm1105_dev *dev)
620{ 620{
621 dev->ts_buf = pci_alloc_consistent(dev->pdev, 621 dev->ts_buf = pci_alloc_consistent(dev->pdev,
622 6 * DM1105_DMA_BYTES, 622 6 * DM1105_DMA_BYTES,
@@ -736,7 +736,7 @@ static irqreturn_t dm1105_irq(int irq, void *dev_id)
736 return IRQ_HANDLED; 736 return IRQ_HANDLED;
737} 737}
738 738
739static int __devinit dm1105_ir_init(struct dm1105_dev *dm1105) 739static int dm1105_ir_init(struct dm1105_dev *dm1105)
740{ 740{
741 struct rc_dev *dev; 741 struct rc_dev *dev;
742 int err = -ENOMEM; 742 int err = -ENOMEM;
@@ -776,12 +776,12 @@ static int __devinit dm1105_ir_init(struct dm1105_dev *dm1105)
776 return 0; 776 return 0;
777} 777}
778 778
779static void __devexit dm1105_ir_exit(struct dm1105_dev *dm1105) 779static void dm1105_ir_exit(struct dm1105_dev *dm1105)
780{ 780{
781 rc_unregister_device(dm1105->ir.dev); 781 rc_unregister_device(dm1105->ir.dev);
782} 782}
783 783
784static int __devinit dm1105_hw_init(struct dm1105_dev *dev) 784static int dm1105_hw_init(struct dm1105_dev *dev)
785{ 785{
786 dm1105_disable_irqs(dev); 786 dm1105_disable_irqs(dev);
787 787
@@ -849,7 +849,7 @@ static struct ds3000_config dvbworld_ds3000_config = {
849 .demod_address = 0x68, 849 .demod_address = 0x68,
850}; 850};
851 851
852static int __devinit frontend_init(struct dm1105_dev *dev) 852static int frontend_init(struct dm1105_dev *dev)
853{ 853{
854 int ret; 854 int ret;
855 855
@@ -949,7 +949,7 @@ static int __devinit frontend_init(struct dm1105_dev *dev)
949 return 0; 949 return 0;
950} 950}
951 951
952static void __devinit dm1105_read_mac(struct dm1105_dev *dev, u8 *mac) 952static void dm1105_read_mac(struct dm1105_dev *dev, u8 *mac)
953{ 953{
954 static u8 command[1] = { 0x28 }; 954 static u8 command[1] = { 0x28 };
955 955
@@ -971,7 +971,7 @@ static void __devinit dm1105_read_mac(struct dm1105_dev *dev, u8 *mac)
971 dev_info(&dev->pdev->dev, "MAC %pM\n", mac); 971 dev_info(&dev->pdev->dev, "MAC %pM\n", mac);
972} 972}
973 973
974static int __devinit dm1105_probe(struct pci_dev *pdev, 974static int dm1105_probe(struct pci_dev *pdev,
975 const struct pci_device_id *ent) 975 const struct pci_device_id *ent)
976{ 976{
977 struct dm1105_dev *dev; 977 struct dm1105_dev *dev;
@@ -1174,7 +1174,7 @@ err_kfree:
1174 return ret; 1174 return ret;
1175} 1175}
1176 1176
1177static void __devexit dm1105_remove(struct pci_dev *pdev) 1177static void dm1105_remove(struct pci_dev *pdev)
1178{ 1178{
1179 struct dm1105_dev *dev = pci_get_drvdata(pdev); 1179 struct dm1105_dev *dev = pci_get_drvdata(pdev);
1180 struct dvb_adapter *dvb_adapter = &dev->dvb_adapter; 1180 struct dvb_adapter *dvb_adapter = &dev->dvb_adapter;
@@ -1207,7 +1207,7 @@ static void __devexit dm1105_remove(struct pci_dev *pdev)
1207 kfree(dev); 1207 kfree(dev);
1208} 1208}
1209 1209
1210static struct pci_device_id dm1105_id_table[] __devinitdata = { 1210static struct pci_device_id dm1105_id_table[] = {
1211 { 1211 {
1212 .vendor = PCI_VENDOR_ID_TRIGEM, 1212 .vendor = PCI_VENDOR_ID_TRIGEM,
1213 .device = PCI_DEVICE_ID_DM1105, 1213 .device = PCI_DEVICE_ID_DM1105,
@@ -1229,7 +1229,7 @@ static struct pci_driver dm1105_driver = {
1229 .name = DRIVER_NAME, 1229 .name = DRIVER_NAME,
1230 .id_table = dm1105_id_table, 1230 .id_table = dm1105_id_table,
1231 .probe = dm1105_probe, 1231 .probe = dm1105_probe,
1232 .remove = __devexit_p(dm1105_remove), 1232 .remove = dm1105_remove,
1233}; 1233};
1234 1234
1235static int __init dm1105_init(void) 1235static int __init dm1105_init(void)