]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2cbea057c6e3ec5745c240f53f002062100030ee
treea4bde61171b83fb1167125b6d2677750600f66f6
parentfb750eb62620dec115a11dbee72ed8b5c9661e8c
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: 62e6a48907d5 ("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