OpenCloudOS-Kernel/drivers/mtd/nand/brcmnand
Axel Lin ddb2c42b67 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: 27c5b17cd1 ("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>
2015-08-07 16:17:43 -07:00
..
Makefile mtd: brcmnand: add BCM63138 support 2015-05-15 13:20:00 -07:00
bcm63138_nand.c mtd: brcmnand: add BCM63138 support 2015-05-15 13:20:00 -07:00
brcmnand.c mtd: brcmnand: drop unnecessary initialization 2015-06-16 18:50:51 -07:00
brcmnand.h mtd: brcmnand: Fix misuse of IS_ENABLED 2015-08-07 16:17:43 -07:00
brcmstb_nand.c mtd: brcmnand: add support for STB chips 2015-05-15 13:16:44 -07:00
iproc_nand.c mtd: brcmnand: add support for Broadcom's IPROC family 2015-05-15 13:20:00 -07:00