]> git.karo-electronics.de Git - linux-beck.git/commit
mtd: onenand: omap2: obtain memory from resource
authorAfzal Mohammed <afzal@ti.com>
Thu, 30 Aug 2012 19:53:23 +0000 (12:53 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 30 Aug 2012 19:53:23 +0000 (12:53 -0700)
commitd65ccb6da60ac8f38ef6eb10ac53d94f28e0f3b1
tree6efefde124fb094056bfd3b8a3b879a7284dc1c1
parent9c4c2f8b91a8bcc431d1c033e4d4455479b8183b
mtd: onenand: omap2: obtain memory from resource

gpmc initialization for onenand done by platform code now provides
onenand address space as memory resource. Hence remove usage of
gpmc_cs_request in onenand driver and obtain memory details from
resource structure.

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>
drivers/mtd/onenand/omap2.c