]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ARCH: OMAP: Kill compile warning on board-3430sdp-flash.c
authorFelipe Balbi <felipe.balbi@nokia.com>
Wed, 6 Feb 2008 18:45:43 +0000 (13:45 -0500)
committerTony Lindgren <tony@atomide.com>
Fri, 15 Feb 2008 23:11:41 +0000 (15:11 -0800)
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 <felipe.balbi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-3430sdp-flash.c

index acd576c3c3044ae34810b6416be9f91e4e150606..1fddcd67b57750feab6e889efb93c811a2e59cc4 100644 (file)
@@ -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;