diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-11 16:13:55 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-11 16:13:55 -0500 |
| commit | cff2f741b8ee8a70b208830e330de053efd4fc45 (patch) | |
| tree | 83367ed74d889e2c8179f1f8b5d6f6f73b857982 /drivers/mmc | |
| parent | b0885d01f9ab1274109c02942c881d598f939623 (diff) | |
| parent | 92e9e6d1f9844b73a26215025a922e7d7aeae361 (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')
31 files changed, 110 insertions, 112 deletions
diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c index ddf096e3803f..5248ba4369a3 100644 --- a/drivers/mmc/host/atmel-mci.c +++ b/drivers/mmc/host/atmel-mci.c | |||
| @@ -511,7 +511,7 @@ static const struct of_device_id atmci_dt_ids[] = { | |||
| 511 | 511 | ||
| 512 | MODULE_DEVICE_TABLE(of, atmci_dt_ids); | 512 | MODULE_DEVICE_TABLE(of, atmci_dt_ids); |
| 513 | 513 | ||
| 514 | static struct mci_platform_data __devinit* | 514 | static struct mci_platform_data* |
| 515 | atmci_of_init(struct platform_device *pdev) | 515 | atmci_of_init(struct platform_device *pdev) |
| 516 | { | 516 | { |
| 517 | struct device_node *np = pdev->dev.of_node; | 517 | struct device_node *np = pdev->dev.of_node; |
diff --git a/drivers/mmc/host/au1xmmc.c b/drivers/mmc/host/au1xmmc.c index dbd0c8a4e98a..127a8fade4da 100644 --- a/drivers/mmc/host/au1xmmc.c +++ b/drivers/mmc/host/au1xmmc.c | |||
| @@ -943,7 +943,7 @@ static const struct mmc_host_ops au1xmmc_ops = { | |||
| 943 | .enable_sdio_irq = au1xmmc_enable_sdio_irq, | 943 | .enable_sdio_irq = au1xmmc_enable_sdio_irq, |
| 944 | }; | 944 | }; |
| 945 | 945 | ||
| 946 | static int __devinit au1xmmc_probe(struct platform_device *pdev) | 946 | static int au1xmmc_probe(struct platform_device *pdev) |
| 947 | { | 947 | { |
| 948 | struct mmc_host *mmc; | 948 | struct mmc_host *mmc; |
| 949 | struct au1xmmc_host *host; | 949 | struct au1xmmc_host *host; |
| @@ -1114,7 +1114,7 @@ out0: | |||
| 1114 | return ret; | 1114 | return ret; |
| 1115 | } | 1115 | } |
| 1116 | 1116 | ||
| 1117 | static int __devexit au1xmmc_remove(struct platform_device *pdev) | 1117 | static int au1xmmc_remove(struct platform_device *pdev) |
| 1118 | { | 1118 | { |
| 1119 | struct au1xmmc_host *host = platform_get_drvdata(pdev); | 1119 | struct au1xmmc_host *host = platform_get_drvdata(pdev); |
| 1120 | 1120 | ||
diff --git a/drivers/mmc/host/bfin_sdh.c b/drivers/mmc/host/bfin_sdh.c index b9b463eca1ec..fb4348c5b6ac 100644 --- a/drivers/mmc/host/bfin_sdh.c +++ b/drivers/mmc/host/bfin_sdh.c | |||
| @@ -522,7 +522,7 @@ static void sdh_reset(void) | |||
| 522 | SSYNC(); | 522 | SSYNC(); |
| 523 | } | 523 | } |
| 524 | 524 | ||
| 525 | static int __devinit sdh_probe(struct platform_device *pdev) | 525 | static int sdh_probe(struct platform_device *pdev) |
| 526 | { | 526 | { |
| 527 | struct mmc_host *mmc; | 527 | struct mmc_host *mmc; |
| 528 | struct sdh_host *host; | 528 | struct sdh_host *host; |
| @@ -617,7 +617,7 @@ out1: | |||
| 617 | return ret; | 617 | return ret; |
| 618 | } | 618 | } |
| 619 | 619 | ||
| 620 | static int __devexit sdh_remove(struct platform_device *pdev) | 620 | static int sdh_remove(struct platform_device *pdev) |
| 621 | { | 621 | { |
| 622 | struct mmc_host *mmc = platform_get_drvdata(pdev); | 622 | struct mmc_host *mmc = platform_get_drvdata(pdev); |
| 623 | 623 | ||
| @@ -680,7 +680,7 @@ static int sdh_resume(struct platform_device *dev) | |||
| 680 | 680 | ||
| 681 | static struct platform_driver sdh_driver = { | 681 | static struct platform_driver sdh_driver = { |
| 682 | .probe = sdh_probe, | 682 | .probe = sdh_probe, |
| 683 | .remove = __devexit_p(sdh_remove), | 683 | .remove = sdh_remove, |
| 684 | .suspend = sdh_suspend, | 684 | .suspend = sdh_suspend, |
| 685 | .resume = sdh_resume, | 685 | .resume = sdh_resume, |
| 686 | .driver = { | 686 | .driver = { |
diff --git a/drivers/mmc/host/cb710-mmc.c b/drivers/mmc/host/cb710-mmc.c index 83693fd7c6b3..777ca2046b27 100644 --- a/drivers/mmc/host/cb710-mmc.c +++ b/drivers/mmc/host/cb710-mmc.c | |||
| @@ -690,7 +690,7 @@ static int cb710_mmc_resume(struct platform_device *pdev) | |||
| 690 | 690 | ||
| 691 | #endif /* CONFIG_PM */ | 691 | #endif /* CONFIG_PM */ |
| 692 | 692 | ||
| 693 | static int __devinit cb710_mmc_init(struct platform_device *pdev) | 693 | static int cb710_mmc_init(struct platform_device *pdev) |
| 694 | { | 694 | { |
| 695 | struct cb710_slot *slot = cb710_pdev_to_slot(pdev); | 695 | struct cb710_slot *slot = cb710_pdev_to_slot(pdev); |
| 696 | struct cb710_chip *chip = cb710_slot_to_chip(slot); | 696 | struct cb710_chip *chip = cb710_slot_to_chip(slot); |
| @@ -746,7 +746,7 @@ err_free_mmc: | |||
| 746 | return err; | 746 | return err; |
| 747 | } | 747 | } |
| 748 | 748 | ||
| 749 | static int __devexit cb710_mmc_exit(struct platform_device *pdev) | 749 | static int cb710_mmc_exit(struct platform_device *pdev) |
| 750 | { | 750 | { |
| 751 | struct cb710_slot *slot = cb710_pdev_to_slot(pdev); | 751 | struct cb710_slot *slot = cb710_pdev_to_slot(pdev); |
| 752 | struct mmc_host *mmc = cb710_slot_to_mmc(slot); | 752 | struct mmc_host *mmc = cb710_slot_to_mmc(slot); |
| @@ -773,7 +773,7 @@ static int __devexit cb710_mmc_exit(struct platform_device *pdev) | |||
| 773 | static struct platform_driver cb710_mmc_driver = { | 773 | static struct platform_driver cb710_mmc_driver = { |
| 774 | .driver.name = "cb710-mmc", | 774 | .driver.name = "cb710-mmc", |
| 775 | .probe = cb710_mmc_init, | 775 | .probe = cb710_mmc_init, |
| 776 | .remove = __devexit_p(cb710_mmc_exit), | 776 | .remove = cb710_mmc_exit, |
| 777 | #ifdef CONFIG_PM | 777 | #ifdef CONFIG_PM |
| 778 | .suspend = cb710_mmc_suspend, | 778 | .suspend = cb710_mmc_suspend, |
| 779 | .resume = cb710_mmc_resume, | 779 | .resume = cb710_mmc_resume, |
diff --git a/drivers/mmc/host/dw_mmc-pci.c b/drivers/mmc/host/dw_mmc-pci.c index 53a09cbb2c7c..8ee0f74f9374 100644 --- a/drivers/mmc/host/dw_mmc-pci.c +++ b/drivers/mmc/host/dw_mmc-pci.c | |||
| @@ -37,7 +37,7 @@ static struct dw_mci_board pci_board_data = { | |||
| 37 | .fifo_depth = 32, | 37 | .fifo_depth = 32, |
| 38 | }; | 38 | }; |
| 39 | 39 | ||
| 40 | static int __devinit dw_mci_pci_probe(struct pci_dev *pdev, | 40 | static int dw_mci_pci_probe(struct pci_dev *pdev, |
| 41 | const struct pci_device_id *entries) | 41 | const struct pci_device_id *entries) |
| 42 | { | 42 | { |
| 43 | struct dw_mci *host; | 43 | struct dw_mci *host; |
| @@ -85,7 +85,7 @@ err_disable_dev: | |||
| 85 | return ret; | 85 | return ret; |
| 86 | } | 86 | } |
| 87 | 87 | ||
| 88 | static void __devexit dw_mci_pci_remove(struct pci_dev *pdev) | 88 | static void dw_mci_pci_remove(struct pci_dev *pdev) |
| 89 | { | 89 | { |
| 90 | struct dw_mci *host = pci_get_drvdata(pdev); | 90 | struct dw_mci *host = pci_get_drvdata(pdev); |
| 91 | 91 | ||
diff --git a/drivers/mmc/host/dw_mmc-pltfm.c b/drivers/mmc/host/dw_mmc-pltfm.c index 4e133709e33d..222036c9e053 100644 --- a/drivers/mmc/host/dw_mmc-pltfm.c +++ b/drivers/mmc/host/dw_mmc-pltfm.c | |||
| @@ -62,12 +62,12 @@ int dw_mci_pltfm_register(struct platform_device *pdev, | |||
| 62 | } | 62 | } |
