diff options
Diffstat (limited to 'drivers/staging/sm7xxfb/sm7xxfb.c')
-rw-r--r-- | drivers/staging/sm7xxfb/sm7xxfb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/sm7xxfb/sm7xxfb.c b/drivers/staging/sm7xxfb/sm7xxfb.c index f27182d4dea6..0764bbbfd497 100644 --- a/drivers/staging/sm7xxfb/sm7xxfb.c +++ b/drivers/staging/sm7xxfb/sm7xxfb.c @@ -768,7 +768,7 @@ static inline void sm7xx_init_hw(void) outb_p(0x11, 0x3c5); } -static int __devinit smtcfb_pci_probe(struct pci_dev *pdev, +static int smtcfb_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) { struct smtcfb_info *sfb; @@ -928,7 +928,7 @@ static DEFINE_PCI_DEVICE_TABLE(smtcfb_pci_table) = { {0,} }; -static void __devexit smtcfb_pci_remove(struct pci_dev *pdev) +static void smtcfb_pci_remove(struct pci_dev *pdev) { struct smtcfb_info *sfb; @@ -1027,7 +1027,7 @@ static struct pci_driver smtcfb_driver = { .name = "smtcfb", .id_table = smtcfb_pci_table, .probe = smtcfb_pci_probe, - .remove = __devexit_p(smtcfb_pci_remove), + .remove = smtcfb_pci_remove, .driver.pm = SM7XX_PM_OPS, }; |