mtd: nand: pxa3xx: Use of_machine_is_compatible()
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Tue, 14 May 2013 11:15:22 +0000 (08:15 -0300)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 5 Aug 2013 19:57:28 +0000 (20:57 +0100)
commita33e435c2822d9c6351deed1cda0184638cfbb42
treec88bc8cf03f818d79505c5b4873e1763410ff533
parent0a60d049812e959b43b0556ef5b914d0900b6283
mtd: nand: pxa3xx: Use of_machine_is_compatible()

This patch replaces cpu_is_pxa3xx() with of_machine_is_compatible()
which allows to build this driver for other platforms than ARCH_PXA.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Tested-by: Nikita Kiryanov <nikita@compulab.co.il>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Reviewed-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/pxa3xx_nand.c