diff options
Diffstat (limited to 'drivers/mmc/host/sdhci-pci.c')
-rw-r--r-- | drivers/mmc/host/sdhci-pci.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c index 0777fad997ba..c7dd0cbc99de 100644 --- a/drivers/mmc/host/sdhci-pci.c +++ b/drivers/mmc/host/sdhci-pci.c | |||
@@ -654,7 +654,7 @@ static const struct sdhci_pci_fixes sdhci_via = { | |||
654 | .probe = via_probe, | 654 | .probe = via_probe, |
655 | }; | 655 | }; |
656 | 656 | ||
657 | static const struct pci_device_id pci_ids[] __devinitconst = { | 657 | static const struct pci_device_id pci_ids[] = { |
658 | { | 658 | { |
659 | .vendor = PCI_VENDOR_ID_RICOH, | 659 | .vendor = PCI_VENDOR_ID_RICOH, |
660 | .device = PCI_DEVICE_ID_RICOH_R5C822, | 660 | .device = PCI_DEVICE_ID_RICOH_R5C822, |
@@ -1184,7 +1184,7 @@ static const struct dev_pm_ops sdhci_pci_pm_ops = { | |||
1184 | * * | 1184 | * * |
1185 | \*****************************************************************************/ | 1185 | \*****************************************************************************/ |
1186 | 1186 | ||
1187 | static struct sdhci_pci_slot * __devinit sdhci_pci_probe_slot( | 1187 | static struct sdhci_pci_slot *sdhci_pci_probe_slot( |
1188 | struct pci_dev *pdev, struct sdhci_pci_chip *chip, int first_bar, | 1188 | struct pci_dev *pdev, struct sdhci_pci_chip *chip, int first_bar, |
1189 | int slotno) | 1189 | int slotno) |
1190 | { | 1190 | { |
@@ -1339,7 +1339,7 @@ static void sdhci_pci_remove_slot(struct sdhci_pci_slot *slot) | |||
1339 | sdhci_free_host(slot->host); | 1339 | sdhci_free_host(slot->host); |
1340 | } | 1340 | } |
1341 | 1341 | ||
1342 | static void __devinit sdhci_pci_runtime_pm_allow(struct device *dev) | 1342 | static void sdhci_pci_runtime_pm_allow(struct device *dev) |
1343 | { | 1343 | { |
1344 | pm_runtime_put_noidle(dev); | 1344 | pm_runtime_put_noidle(dev); |
1345 | pm_runtime_allow(dev); | 1345 | pm_runtime_allow(dev); |
@@ -1348,13 +1348,13 @@ static void __devinit sdhci_pci_runtime_pm_allow(struct device *dev) | |||
1348 | pm_suspend_ignore_children(dev, 1); | 1348 | pm_suspend_ignore_children(dev, 1); |
1349 | } | 1349 | } |
1350 | 1350 | ||
1351 | static void __devexit sdhci_pci_runtime_pm_forbid(struct device *dev) | 1351 | static void sdhci_pci_runtime_pm_forbid(struct device *dev) |
1352 | { | 1352 | { |
1353 | pm_runtime_forbid(dev); | 1353 | pm_runtime_forbid(dev); |
1354 | pm_runtime_get_noresume(dev); | 1354 | pm_runtime_get_noresume(dev); |
1355 | } | 1355 | } |
1356 | 1356 | ||
1357 | static int __devinit sdhci_pci_probe(struct pci_dev *pdev, | 1357 | static int sdhci_pci_probe(struct pci_dev *pdev, |
1358 | const struct pci_device_id *ent) | 1358 | const struct pci_device_id *ent) |
1359 | { | 1359 | { |
1360 | struct sdhci_pci_chip *chip; | 1360 | struct sdhci_pci_chip *chip; |
@@ -1446,7 +1446,7 @@ err: | |||
1446 | return ret; | 1446 | return ret; |
1447 | } | 1447 | } |
1448 | 1448 | ||
1449 | static void __devexit sdhci_pci_remove(struct pci_dev *pdev) | 1449 | static void sdhci_pci_remove(struct pci_dev *pdev) |
1450 | { | 1450 | { |
1451 | int i; | 1451 | int i; |
1452 | struct sdhci_pci_chip *chip; | 1452 | struct sdhci_pci_chip *chip; |
@@ -1471,7 +1471,7 @@ static struct pci_driver sdhci_driver = { | |||
1471 | .name = "sdhci-pci", | 1471 | .name = "sdhci-pci", |
1472 | .id_table = pci_ids, | 1472 | .id_table = pci_ids, |
1473 | .probe = sdhci_pci_probe, | 1473 | .probe = sdhci_pci_probe, |
1474 | .remove = __devexit_p(sdhci_pci_remove), | 1474 | .remove = sdhci_pci_remove, |
1475 | .driver = { | 1475 | .driver = { |
1476 | .pm = &sdhci_pci_pm_ops | 1476 | .pm = &sdhci_pci_pm_ops |
1477 | }, | 1477 | }, |