summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKishore Kadiyala <kishore.kadiyala@ti.com>2010-10-01 20:03:51 +0530
committerSebastien Jan <s-jan@ti.com>2010-11-03 15:57:59 +0100
commit8d0b2154c5dec2c76815298001c8a9432bf1ab71 (patch)
tree0bcbebd6ff45448f41ea0cc96708afe67187c5ad
parent5a41892872bd08fc05ffae6ffe092f3d6ce097a1 (diff)
mmc: fix compilation warning
arch/arm/mach-omap2/board-n8x0.c: In function 'n8x0_mmc_init': arch/arm/mach-omap2/board-n8x0.c:546: warning: passing argument 1 of 'omap2_init_mmc' from incompatible pointer type arch/arm/plat-omap/include/plat/mmc.h:258: note: expected 'struct omap_mmc_platform_data *' but argument is of type 'struct omap_mmc_platform_data **' Signed-off-by: Kishore Kadiyala <kishore.kadiyala@ti.com>
-rw-r--r--arch/arm/mach-omap2/board-n8x0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-n8x0.c b/arch/arm/mach-omap2/board-n8x0.c
index 0a4d2839231e..25ec87ebf5f0 100644
--- a/arch/arm/mach-omap2/board-n8x0.c
+++ b/arch/arm/mach-omap2/board-n8x0.c
@@ -543,7 +543,7 @@ static void __init n8x0_mmc_init(void)
}
mmc_data[0] = &mmc1_data;
- omap2_init_mmc(mmc_data, OMAP24XX_NR_MMC);
+ omap2_init_mmc(mmc_data[0], OMAP24XX_NR_MMC);
}
#else