summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/sh_mobile_sdhi.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-09-16 17:14:40 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-09-16 17:14:40 +0900
commit25ab998e2eff46d2e6ede80c9fc02a349fa005a3 (patch)
tree10bead082d8555891e9f018d80debbed12578d16 /drivers/mfd/sh_mobile_sdhi.c
parentd71415e88447f31ec63026e69b64a7e99465b7f4 (diff)
downloadlinux-25ab998e2eff46d2e6ede80c9fc02a349fa005a3.tar.gz
linux-25ab998e2eff46d2e6ede80c9fc02a349fa005a3.tar.bz2
linux-25ab998e2eff46d2e6ede80c9fc02a349fa005a3.zip
mfd: Fix up section mismatches in SH SDHI.
The current probe/remove definitions are split between __init and __devexit, make them consistent by switching to __devinit. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/mfd/sh_mobile_sdhi.c')
-rw-r--r--drivers/mfd/sh_mobile_sdhi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/sh_mobile_sdhi.c b/drivers/mfd/sh_mobile_sdhi.c
index cd164595f08a..49b4d069cbf9 100644
--- a/drivers/mfd/sh_mobile_sdhi.c
+++ b/drivers/mfd/sh_mobile_sdhi.c
@@ -65,7 +65,7 @@ static void sh_mobile_sdhi_set_pwr(struct platform_device *tmio, int state)
p->set_pwr(pdev, state);
}
-static int __init sh_mobile_sdhi_probe(struct platform_device *pdev)
+static int __devinit sh_mobile_sdhi_probe(struct platform_device *pdev)
{
struct sh_mobile_sdhi *priv;
struct tmio_mmc_data *mmc_data;