aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/jz4740_mmc.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/jz4740_mmc.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/jz4740_mmc.c')
-rw-r--r--drivers/mmc/host/jz4740_mmc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/mmc/host/jz4740_mmc.c b/drivers/mmc/host/jz4740_mmc.c
index c8852a8128a9..2391c6b7a4bb 100644
--- a/drivers/mmc/host/jz4740_mmc.c
+++ b/drivers/mmc/host/jz4740_mmc.c
@@ -702,7 +702,7 @@ static const struct jz_gpio_bulk_request jz4740_mmc_pins[] = {
702 JZ_GPIO_BULK_PIN(MSC_DATA3), 702 JZ_GPIO_BULK_PIN(MSC_DATA3),
703}; 703};
704 704
705static int __devinit jz4740_mmc_request_gpio(struct device *dev, int gpio, 705static int jz4740_mmc_request_gpio(struct device *dev, int gpio,
706 const char *name, bool output, int value) 706 const char *name, bool output, int value)
707{ 707{
708 int ret; 708 int ret;
@@ -724,7 +724,7 @@ static int __devinit jz4740_mmc_request_gpio(struct device *dev, int gpio,
724 return 0; 724 return 0;
725} 725}
726 726
727static int __devinit jz4740_mmc_request_gpios(struct platform_device *pdev) 727static int jz4740_mmc_request_gpios(struct platform_device *pdev)
728{ 728{
729 int ret; 729 int ret;
730 struct jz4740_mmc_platform_data *pdata = pdev->dev.platform_data; 730 struct jz4740_mmc_platform_data *pdata = pdev->dev.platform_data;
@@ -759,7 +759,7 @@ err:
759 return ret; 759 return ret;
760} 760}
761 761
762static int __devinit jz4740_mmc_request_cd_irq(struct platform_device *pdev, 762static int jz4740_mmc_request_cd_irq(struct platform_device *pdev,
763 struct jz4740_mmc_host *host) 763 struct jz4740_mmc_host *host)
764{ 764{
765 struct jz4740_mmc_platform_data *pdata = pdev->dev.platform_data; 765 struct jz4740_mmc_platform_data *pdata = pdev->dev.platform_data;
@@ -802,7 +802,7 @@ static inline size_t jz4740_mmc_num_pins(struct jz4740_mmc_host *host)
802 return num_pins; 802 return num_pins;
803} 803}
804 804
805static int __devinit jz4740_mmc_probe(struct platform_device* pdev) 805static int jz4740_mmc_probe(struct platform_device* pdev)
806{ 806{
807 int ret; 807 int ret;
808 struct mmc_host *mmc; 808 struct mmc_host *mmc;
@@ -938,7 +938,7 @@ err_free_host:
938 return ret; 938 return ret;
939} 939}
940 940
941static int __devexit jz4740_mmc_remove(struct platform_device *pdev) 941static int jz4740_mmc_remove(struct platform_device *pdev)
942{ 942{
943 struct jz4740_mmc_host *host = platform_get_drvdata(pdev); 943 struct jz4740_mmc_host *host = platform_get_drvdata(pdev);
944 944
@@ -1004,7 +1004,7 @@ const struct dev_pm_ops jz4740_mmc_pm_ops = {
1004 1004
1005static struct platform_driver jz4740_mmc_driver = { 1005static struct platform_driver jz4740_mmc_driver = {
1006 .probe = jz4740_mmc_probe, 1006 .probe = jz4740_mmc_probe,
1007 .remove = __devexit_p(jz4740_mmc_remove), 1007 .remove = jz4740_mmc_remove,
1008 .driver = { 1008 .driver = {
1009 .name = "jz4740-mmc", 1009 .name = "jz4740-mmc",
1010 .owner = THIS_MODULE, 1010 .owner = THIS_MODULE,