]> asedeno.scripts.mit.edu Git - linux.git/commit
mtd: rawnand: orion: Handle cases where __LINUX_ARM_ARCH__ is not defined
authorBoris Brezillon <boris.brezillon@bootlin.com>
Wed, 18 Jul 2018 08:56:51 +0000 (10:56 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 31 Jul 2018 07:45:51 +0000 (09:45 +0200)
commitd166541e9031daff120cac212f1917eff93c07d3
treea6437f89064cab488921afb4d3971e55342f390a
parentc81d28ad4fe8899f3a17b204eeec6d37d698dd5b
mtd: rawnand: orion: Handle cases where __LINUX_ARM_ARCH__ is not defined

Make sure __LINUX_ARM_ARCH__ is defined before testing its value.
This is needed if we want to allow selection of this driver when
COMPILE_TEST=y.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/orion_nand.c