From: Felipe Balbi Date: Wed, 6 Feb 2008 18:45:43 +0000 (-0500) Subject: ARCH: OMAP: Kill compile warning on board-3430sdp-flash.c X-Git-Tag: v2.6.25-omap1~196 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=423e6858d6629c06fb7f162bda7b414b608d88a2;p=linux-2.6-omap-h63xx.git 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 --- 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;