diff options
author | Afzal Mohammed <afzal@ti.com> | 2012-08-30 12:53:23 -0700 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-08-30 12:53:23 -0700 |
commit | 9c4c2f8b91a8bcc431d1c033e4d4455479b8183b (patch) | |
tree | ba37152e231c1bb3c3c33a50b304181a8c68ea5a /arch/arm/plat-omap/include | |
parent | 681988ba0c369795def0346d210ce96d6177059a (diff) |
mtd: nand: omap2: obtain memory from resource
gpmc initialization done by platform code now updates struct resource
with the address space alloted for nand. Use this interface to obtain
memory rather than relying on platform data field - phys_base.
Signed-off-by: Afzal Mohammed <afzal@ti.com>
Acked-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/include')
-rw-r--r-- | arch/arm/plat-omap/include/plat/nand.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/include/plat/nand.h b/arch/arm/plat-omap/include/plat/nand.h index 86e4d9c67bff..290cef5c1093 100644 --- a/arch/arm/plat-omap/include/plat/nand.h +++ b/arch/arm/plat-omap/include/plat/nand.h @@ -26,7 +26,6 @@ struct omap_nand_platform_data { bool dev_ready; int gpmc_irq; enum nand_io xfer_type; - unsigned long phys_base; int devsize; enum omap_ecc ecc_opt; struct gpmc_nand_regs reg; |