From 423e6858d6629c06fb7f162bda7b414b608d88a2 Mon Sep 17 00:00:00 2001 From: Felipe Balbi Date: Wed, 6 Feb 2008 13:45:43 -0500 Subject: [PATCH] ARCH: OMAP: Kill compile warning on board-3430sdp-flash.c Commit 3ae4b7e31cd51af2e2184c640c9f50f574acd449 from Adrian Hunter has changed onenand_setup prototype in struct omap_onenand_platform_data causing a compile warning of incompatible pointer type when building 3430sdp kernels. This is a trivial patch to fix such warning. Signed-off-by: Felipe Balbi Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2/board-3430sdp-flash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/board-3430sdp-flash.c b/arch/arm/mach-omap2/board-3430sdp-flash.c index acd576c3c30..1fddcd67b57 100644 --- a/arch/arm/mach-omap2/board-3430sdp-flash.c +++ b/arch/arm/mach-omap2/board-3430sdp-flash.c @@ -79,7 +79,7 @@ static struct platform_device sdp_nor_device = { .resource = &sdp_nor_resource, }; -static int sdp_onenand_setup(void __iomem *); +static int sdp_onenand_setup(void __iomem *, int freq); static struct mtd_partition sdp_onenand_partitions[] = { { @@ -132,7 +132,7 @@ static struct platform_device sdp_onenand_device = { * * @return int: Currently always returning zero. */ -static int sdp_onenand_setup(void __iomem *onenand_base) +static int sdp_onenand_setup(void __iomem *onenand_base, int freq) { /* Onenand setup does nothing at present */ return 0; -- 2.41.0