[PATCH] phy: usb: Fix misuse of IS_ENABLED

Florian Fainelli f.fainelli at gmail.com
Sun May 2 16:53:30 BST 2021



On 4/27/2021 12:17 AM, Chen Li wrote:
> 
> 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 at uniontech.com>

Acked-by: Florian Fainelli <f.fainelli at gmail.com>
Fixes: 94583a41047e ("phy: usb: Restructure in preparation for adding
7216 USB support")
-- 
Florian



More information about the linux-phy mailing list