diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-08-06 07:29:37 +0300 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-08-08 02:17:43 +0300 |
commit | ddb2c42b677eb2883e532f0928e445fc205d0019 (patch) | |
tree | a4bde61171b83fb1167125b6d2677750600f66f6 /drivers/mtd/nand/pxa3xx_nand.c | |
parent | 788a6cddda9ba83276e37567c17bb78406904074 (diff) | |
download | linux-ddb2c42b677eb2883e532f0928e445fc205d0019.tar.xz |
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>
Diffstat (limited to 'drivers/mtd/nand/pxa3xx_nand.c')
0 files changed, 0 insertions, 0 deletions