From: Enric Balletbo i Serra Date: Sat, 23 Oct 2010 16:48:58 +0000 (+0000) Subject: omap3: IGEP v2: Remove onenand_setup no-op function X-Git-Tag: MMI-PSA29.97-13-9~21439^2~61^3~6 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=62d69e6a57c5b5d52a607b1ce73ff6af65c992eb;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git omap3: IGEP v2: Remove onenand_setup no-op function Set onenand_setup to NULL instead of adding a no-op function. Signed-off-by: Enric Balletbo i Serra Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/board-igep0020.c b/arch/arm/mach-omap2/board-igep0020.c index 5e035a58b809..20b199fa5a60 100644 --- a/arch/arm/mach-omap2/board-igep0020.c +++ b/arch/arm/mach-omap2/board-igep0020.c @@ -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 */ };