]> 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)
commitf382b926985ca0c2763a11bd2d9e071f3f0e48e6
treea6437f89064cab488921afb4d3971e55342f390a
parentb0ff50032ee6194657132dfc8c4ba85cfe100607
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