mmc: remove use of __devinit
CONFIG_HOTPLUG is going away as an option so __devinit is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Chris Ball <cjb@laptop.org> Cc: Manuel Lauss <manuel.lauss@gmail.com> Cc: "Michał Mirosław" <mirq-linux@rere.qmqm.pl> Cc: Jarkko Lavinen <jarkko.lavinen@nokia.com> Cc: Venkatraman S <svenkatr@ti.com> Cc: Ian Molton <ian@mnementh.co.uk> Cc: Bruce Chang <brucechang@via.com.tw> Cc: Harald Welte <HaraldWelte@viatech.com> Cc: Pierre Ossman <pierre@ossman.eu> Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

szülő
0433c14356
commit
c3be1efd41
@@ -71,8 +71,7 @@ static irqreturn_t sdhci_gpio_irq(int irq, void *dev_id)
|
||||
}
|
||||
|
||||
#ifdef CONFIG_OF
|
||||
static struct sdhci_plat_data * __devinit
|
||||
sdhci_probe_config_dt(struct platform_device *pdev)
|
||||
static struct sdhci_plat_data *sdhci_probe_config_dt(struct platform_device *pdev)
|
||||
{
|
||||
struct device_node *np = pdev->dev.of_node;
|
||||
struct sdhci_plat_data *pdata = NULL;
|
||||
@@ -96,14 +95,13 @@ sdhci_probe_config_dt(struct platform_device *pdev)
|
||||
return pdata;
|
||||
}
|
||||
#else
|
||||
static struct sdhci_plat_data * __devinit
|
||||
sdhci_probe_config_dt(struct platform_device *pdev)
|
||||
static struct sdhci_plat_data *sdhci_probe_config_dt(struct platform_device *pdev)
|
||||
{
|
||||
return ERR_PTR(-ENOSYS);
|
||||
}
|
||||
#endif
|
||||
|
||||
static int __devinit sdhci_probe(struct platform_device *pdev)
|
||||
static int sdhci_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct device_node *np = pdev->dev.of_node;
|
||||
struct sdhci_host *host;
|
||||
|
Reference in New Issue
Block a user