Re: [PATCH] phy: usb: Fix misuse of IS_ENABLED

Florian Fainelli
2021-05-02T15:53:42Z

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@uniontech.com>

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