]> git.baikalelectronics.ru Git - kernel.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)
commite728fdfa74a5b0806b8d879240d88e537962b794
treea6437f89064cab488921afb4d3971e55342f390a
parent0b4e2304a89168b71881dbee5df66624e8be12e0
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