]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
mtd: onenand: omap: use pdata info instead of cpu_is
authorAfzal Mohammed <afzal@ti.com>
Fri, 5 Oct 2012 06:13:19 +0000 (11:43 +0530)
committerAfzal Mohammed <afzal@ti.com>
Mon, 15 Oct 2012 09:12:01 +0000 (14:42 +0530)
commitb7754452b3e27716347a528b47b0a1083af32520
treea1c7a909131851fe69daae2abf15dcb18356831b
parenteb77b6a78ac7f63985a3f592baf80ff33d213c48
mtd: onenand: omap: use pdata info instead of cpu_is

platform data now contains a field to indicate whether
soc belongs to omap34xx family, use it instead of
cpu_is_* check.

This helps in removing dependency of platform specific
header file - cpu.h

Signed-off-by: Afzal Mohammed <afzal@ti.com>
drivers/mtd/onenand/omap2.c