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

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
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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)