Преглед на файлове

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>
Paul Mundt преди 14 години
родител
ревизия
25ab998e2e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      drivers/mfd/sh_mobile_sdhi.c

+ 1 - 1
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);
 		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 sh_mobile_sdhi *priv;
 	struct tmio_mmc_data *mmc_data;
 	struct tmio_mmc_data *mmc_data;