]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
omap3: IGEP v2: Remove onenand_setup no-op function
authorEnric Balletbo i Serra <eballetbo@gmail.com>
Sat, 23 Oct 2010 16:48:58 +0000 (16:48 +0000)
committerTony Lindgren <tony@atomide.com>
Fri, 5 Nov 2010 21:46:23 +0000 (14:46 -0700)
Set onenand_setup to NULL instead of adding a no-op function.

Signed-off-by: Enric Balletbo i Serra <eballetbo@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-igep0020.c

index 5e035a58b80923e13b0de0aee669dd132729a764..20b199fa5a60596d5a5879a61cdb80d28f38995f 100644 (file)
@@ -136,16 +136,9 @@ static struct mtd_partition igep2_onenand_partitions[] = {
        },
 };
 
-static int igep2_onenand_setup(void __iomem *onenand_base, int freq)
-{
-       /* nothing is required to be setup for onenand as of now */
-       return 0;
-}
-
 static struct omap_onenand_platform_data igep2_onenand_data = {
        .parts = igep2_onenand_partitions,
        .nr_parts = ARRAY_SIZE(igep2_onenand_partitions),
-       .onenand_setup = igep2_onenand_setup,
        .dma_channel    = -1,   /* disable DMA in OMAP OneNAND driver */
 };