From: Álvaro Fernández Rojas Date: Wed, 17 Mar 2021 08:42:01 +0000 (+0100) Subject: net: dsa: b53: relax is63xx() condition X-Git-Tag: accepted/tizen/unified/20230118.172025~7335^2~512 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ad426d7d966b525b73ed5a1842dd830312bbba71;p=platform%2Fkernel%2Flinux-rpi.git net: dsa: b53: relax is63xx() condition BCM63xx switches are present on bcm63xx and bmips devices. Signed-off-by: Álvaro Fernández Rojas Acked-by: Florian Fainelli Signed-off-by: David S. Miller --- diff --git a/drivers/net/dsa/b53/b53_priv.h b/drivers/net/dsa/b53/b53_priv.h index 8419bb7..82700a5 100644 --- a/drivers/net/dsa/b53/b53_priv.h +++ b/drivers/net/dsa/b53/b53_priv.h @@ -186,11 +186,7 @@ static inline int is531x5(struct b53_device *dev) static inline int is63xx(struct b53_device *dev) { -#ifdef CONFIG_BCM63XX return dev->chip_id == BCM63XX_DEVICE_ID; -#else - return 0; -#endif } static inline int is5301x(struct b53_device *dev)