summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorKishore Kadiyala <kishore.kadiyala@ti.com>2010-10-01 20:03:51 +0530
committerRicardo Perez Olivares <x0081762@ti.com>2010-10-04 15:59:05 -0500
commit296a55bf11e049d0a61d0d13b8be61e3cb989fe8 (patch)
treee3e9b222756fb3840f6cc6b1a94ea69a3a31d07b /arch
parent9069ca7aec1750b2e6362d7f4ffd44c4ed1f85e5 (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>
Diffstat (limited to 'arch')
-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