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>
This commit is contained in:
committed by
Tony Lindgren
parent
c8ddb2713c
commit
62d69e6a57
@@ -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 = {
|
static struct omap_onenand_platform_data igep2_onenand_data = {
|
||||||
.parts = igep2_onenand_partitions,
|
.parts = igep2_onenand_partitions,
|
||||||
.nr_parts = ARRAY_SIZE(igep2_onenand_partitions),
|
.nr_parts = ARRAY_SIZE(igep2_onenand_partitions),
|
||||||
.onenand_setup = igep2_onenand_setup,
|
|
||||||
.dma_channel = -1, /* disable DMA in OMAP OneNAND driver */
|
.dma_channel = -1, /* disable DMA in OMAP OneNAND driver */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user