diff options
author | Adrian Hunter <adrian.hunter@nokia.com> | 2011-02-07 08:46:59 (GMT) |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-02-17 23:44:45 (GMT) |
commit | 3ad2d861362031dac8b2bba78a8f4c575300948f (patch) | |
tree | 24dbf3d99034234dac78b3c001eac5c8470d514b /arch/arm/plat-omap/include/plat/onenand.h | |
parent | 1435ca0fc1a269f9496343e24223a0fc430aff7a (diff) | |
download | linux-fsl-qoriq-3ad2d861362031dac8b2bba78a8f4c575300948f.tar.xz |
OMAP: OneNAND: determine frequency in one place
OneNAND frequency is determined when calculating
GPMC timings. Return that value instead of determining it
again in the OMAP OneNAND driver.
Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/onenand.h')
-rw-r--r-- | arch/arm/plat-omap/include/plat/onenand.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/include/plat/onenand.h b/arch/arm/plat-omap/include/plat/onenand.h index affe87e..86118dc 100644 --- a/arch/arm/plat-omap/include/plat/onenand.h +++ b/arch/arm/plat-omap/include/plat/onenand.h @@ -20,7 +20,7 @@ struct omap_onenand_platform_data { int gpio_irq; struct mtd_partition *parts; int nr_parts; - int (*onenand_setup)(void __iomem *, int freq); + int (*onenand_setup)(void __iomem *, int *freq_ptr); int dma_channel; u8 flags; u8 regulator_can_sleep; |