OSDN Git Service

ata: ahci_brcmstb: Fix misuse of IS_ENABLED
authorAxel Lin <axel.lin@ingics.com>
Thu, 6 Aug 2015 04:28:18 +0000 (12:28 +0800)
committerTejun Heo <tj@kernel.org>
Thu, 6 Aug 2015 18:30:07 +0000 (14:30 -0400)
commitf9114d357858c1429dcde022706db7443918f49f
treecc66fc9ccceb11642988a459d88d3838a0f14df7
parentbb44e154e25125bef31fa956785e90fccd24610b
ata: ahci_brcmstb: 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.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: stable@vger.kernel.org
drivers/ata/ahci_brcmstb.c