mtd: brcmnand: Fix misuse of IS_ENABLED
authorAxel Lin <axel.lin@ingics.com>
Thu, 6 Aug 2015 04:29:37 +0000 (12:29 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 7 Aug 2015 23:17:43 +0000 (16:17 -0700)
commitddb2c42b677eb2883e532f0928e445fc205d0019
treea4bde61171b83fb1167125b6d2677750600f66f6
parent788a6cddda9ba83276e37567c17bb78406904074
mtd: brcmnand: Fix misuse of IS_ENABLED

While IS_ENABLED() is perfectly fine for CONFIG_* symbols, it is not
for other symbols such as __BIG_ENDIAN that is provided directly by
the compiler.

Switch to use CONFIG_CPU_BIG_ENDIAN instead of __BIG_ENDIAN.

Fixes: 27c5b17cd1b1 ("mtd: nand: add NAND driver "library" for Broadcom STB NAND controller")
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/brcmnand/brcmnand.h