Commit ad426d7d authored by Álvaro Fernández Rojas's avatar Álvaro Fernández Rojas Committed by David S. Miller

net: dsa: b53: relax is63xx() condition

BCM63xx switches are present on bcm63xx and bmips devices.
Signed-off-by: default avatarÁlvaro Fernández Rojas <noltari@gmail.com>
Acked-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3600be5f
...@@ -186,11 +186,7 @@ static inline int is531x5(struct b53_device *dev) ...@@ -186,11 +186,7 @@ static inline int is531x5(struct b53_device *dev)
static inline int is63xx(struct b53_device *dev) static inline int is63xx(struct b53_device *dev)
{ {
#ifdef CONFIG_BCM63XX
return dev->chip_id == BCM63XX_DEVICE_ID; return dev->chip_id == BCM63XX_DEVICE_ID;
#else
return 0;
#endif
} }
static inline int is5301x(struct b53_device *dev) static inline int is5301x(struct b53_device *dev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment