diff options
Diffstat (limited to 'drivers/media/pci/ivtv/ivtv-driver.c')
-rw-r--r-- | drivers/media/pci/ivtv/ivtv-driver.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/media/pci/ivtv/ivtv-driver.c b/drivers/media/pci/ivtv/ivtv-driver.c index 74e9a5032364..df88dc4ab555 100644 --- a/drivers/media/pci/ivtv/ivtv-driver.c +++ b/drivers/media/pci/ivtv/ivtv-driver.c | |||
@@ -73,7 +73,7 @@ int (*ivtv_ext_init)(struct ivtv *); | |||
73 | EXPORT_SYMBOL(ivtv_ext_init); | 73 | EXPORT_SYMBOL(ivtv_ext_init); |
74 | 74 | ||
75 | /* add your revision and whatnot here */ | 75 | /* add your revision and whatnot here */ |
76 | static struct pci_device_id ivtv_pci_tbl[] __devinitdata = { | 76 | static struct pci_device_id ivtv_pci_tbl[] = { |
77 | {PCI_VENDOR_ID_ICOMP, PCI_DEVICE_ID_IVTV15, | 77 | {PCI_VENDOR_ID_ICOMP, PCI_DEVICE_ID_IVTV15, |
78 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, | 78 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, |
79 | {PCI_VENDOR_ID_ICOMP, PCI_DEVICE_ID_IVTV16, | 79 | {PCI_VENDOR_ID_ICOMP, PCI_DEVICE_ID_IVTV16, |
@@ -736,7 +736,7 @@ done: | |||
736 | No assumptions on the card type may be made here (see ivtv_init_struct2 | 736 | No assumptions on the card type may be made here (see ivtv_init_struct2 |
737 | for that). | 737 | for that). |
738 | */ | 738 | */ |
739 | static int __devinit ivtv_init_struct1(struct ivtv *itv) | 739 | static int ivtv_init_struct1(struct ivtv *itv) |
740 | { | 740 | { |
741 | struct sched_param param = { .sched_priority = 99 }; | 741 | struct sched_param param = { .sched_priority = 99 }; |
742 | 742 | ||
@@ -802,7 +802,7 @@ static int __devinit ivtv_init_struct1(struct ivtv *itv) | |||
802 | 802 | ||
803 | /* Second initialization part. Here the card type has been | 803 | /* Second initialization part. Here the card type has been |
804 | autodetected. */ | 804 | autodetected. */ |
805 | static void __devinit ivtv_init_struct2(struct ivtv *itv) | 805 | static void ivtv_init_struct2(struct ivtv *itv) |
806 | { | 806 | { |
807 | int i; | 807 | int i; |
808 | 808 | ||
@@ -1001,8 +1001,7 @@ static void ivtv_load_and_init_modules(struct ivtv *itv) | |||
1001 | } | 1001 | } |
1002 | } | 1002 | } |
1003 | 1003 | ||
1004 | static int __devinit ivtv_probe(struct pci_dev *pdev, | 1004 | static int ivtv_probe(struct pci_dev *pdev, const struct pci_device_id *pci_id) |
1005 | const struct pci_device_id *pci_id) | ||
1006 | { | 1005 | { |
1007 | int retval = 0; | 1006 | int retval = 0; |
1008 | int vbi_buf_size; | 1007 | int vbi_buf_size; |