phy: usb: Fix misuse of IS_ENABLED
authorChen Li <chenli@uniontech.com>
Tue, 27 Apr 2021 07:17:45 +0000 (15:17 +0800)
committerVinod Koul <vkoul@kernel.org>
Fri, 14 May 2021 12:10:37 +0000 (17:40 +0530)
commit7c2fc79250cafa1a29befeb60163028ec4720814
tree7043b7f4eeb15c2da1a542b481822a6871d2f33f
parent6efb943b8616ec53a5e444193dccf1af9ad627b5
phy: usb: 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: Chen Li <chenli@uniontech.com>
Reviewed-by: Al Cooper <alcooperx@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Fixes: 94583a41047e ("phy: usb: Restructure in preparation for adding 7216 USB support")
Link: https://lore.kernel.org/r/87czuggpra.wl-chenli@uniontech.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/broadcom/phy-brcm-usb-init.h