diff options
author | Enric Balletbo i Serra <eballetbo@gmail.com> | 2010-10-23 12:48:58 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-11-05 17:46:23 -0400 |
commit | 62d69e6a57c5b5d52a607b1ce73ff6af65c992eb (patch) | |
tree | 0460bb005f56715851baa434713c98fa8f1d0ff1 /arch/arm/mach-omap2 | |
parent | c8ddb2713c624f432fa5fe3c7ecffcdda46ea0d4 (diff) |
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 <eballetbo@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/board-igep0020.c | 7 |
1 files changed, 0 insertions, 7 deletions
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[] = { | |||
136 | }, | 136 | }, |
137 | }; | 137 | }; |
138 | 138 | ||
139 | static int igep2_onenand_setup(void __iomem *onenand_base, int freq) | ||
140 | { | ||
141 | /* nothing is required to be setup for onenand as of now */ | ||
142 | return 0; | ||
143 | } | ||
144 | |||
145 | static struct omap_onenand_platform_data igep2_onenand_data = { | 139 | static struct omap_onenand_platform_data igep2_onenand_data = { |
146 | .parts = igep2_onenand_partitions, | 140 | .parts = igep2_onenand_partitions, |
147 | .nr_parts = ARRAY_SIZE(igep2_onenand_partitions), | 141 | .nr_parts = ARRAY_SIZE(igep2_onenand_partitions), |
148 | .onenand_setup = igep2_onenand_setup, | ||
149 | .dma_channel = -1, /* disable DMA in OMAP OneNAND driver */ | 142 | .dma_channel = -1, /* disable DMA in OMAP OneNAND driver */ |
150 | }; | 143 | }; |
151 | 144 | ||