aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci-pci.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-12-11 16:13:55 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-11 16:13:55 -0500
commitcff2f741b8ee8a70b208830e330de053efd4fc45 (patch)
tree83367ed74d889e2c8179f1f8b5d6f6f73b857982 /drivers/mmc/host/sdhci-pci.c
parentb0885d01f9ab1274109c02942c881d598f939623 (diff)
parent92e9e6d1f9844b73a26215025a922e7d7aeae361 (diff)
Merge tag 'driver-core-3.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
Pull driver core updates from Greg Kroah-Hartman: "Here's the large driver core updates for 3.8-rc1. The biggest thing here is the various __dev* marking removals. This is going to be a pain for the merge with different subsystem trees, I know, but all of the patches included here have been ACKed by their various subsystem maintainers, as they wanted them to go through here. If this is too much of a pain, I can pull all of them out of this tree and just send you one with the other fixes/updates and then, after 3.8-rc1 is out, do the rest of the removals to ensure we catch them all, it's up to you. The merges should all be trivial, and Stephen has been doing them all in linux-next for a few weeks now quite easily. Other than the __dev* marking removals, there's nothing major here, some firmware loading updates and other minor things in the driver core. All of these have (much to Stephen's annoyance), been in linux-next for a while. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>" Fixed up trivial conflicts in drivers/gpio/gpio-{em,stmpe}.c due to gpio update. * tag 'driver-core-3.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (93 commits) modpost.c: Stop checking __dev* section mismatches init.h: Remove __dev* sections from the kernel acpi: remove use of __devinit PCI: Remove __dev* markings PCI: Always build setup-bus when PCI is enabled PCI: Move pci_uevent into pci-driver.c PCI: Remove CONFIG_HOTPLUG ifdefs unicore32/PCI: Remove CONFIG_HOTPLUG ifdefs sh/PCI: Remove CONFIG_HOTPLUG ifdefs powerpc/PCI: Remove CONFIG_HOTPLUG ifdefs mips/PCI: Remove CONFIG_HOTPLUG ifdefs microblaze/PCI: Remove CONFIG_HOTPLUG ifdefs dma: remove use of __devinit dma: remove use of __devexit_p firewire: remove use of __devinitdata firewire: remove use of __devinit leds: remove use of __devexit leds: remove use of __devinit leds: remove use of __devexit_p mmc: remove use of __devexit ...
Diffstat (limited to 'drivers/mmc/host/sdhci-pci.c')
-rw-r--r--drivers/mmc/host/sdhci-pci.c14
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
657static const struct pci_device_id pci_ids[] __devinitconst = { 657static 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
1187static struct sdhci_pci_slot * __devinit sdhci_pci_probe_slot( 1187static 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
1342static void __devinit sdhci_pci_runtime_pm_allow(struct device *dev) 1342static 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
1351static void __devexit sdhci_pci_runtime_pm_forbid(struct device *dev) 1351static 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
1357static int __devinit sdhci_pci_probe(struct pci_dev *pdev, 1357static 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
1449static void __devexit sdhci_pci_remove(struct pci_dev *pdev) 1449static 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 },