projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3600be5
)
net: dsa: b53: relax is63xx() condition
author
Álvaro Fernández Rojas
<noltari@gmail.com>
Wed, 17 Mar 2021 08:42:01 +0000
(09:42 +0100)
committer
David S. Miller
<davem@davemloft.net>
Wed, 17 Mar 2021 19:05:46 +0000
(12:05 -0700)
BCM63xx switches are present on bcm63xx and bmips devices.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/b53/b53_priv.h
patch
|
blob
|
history
diff --git
a/drivers/net/dsa/b53/b53_priv.h
b/drivers/net/dsa/b53/b53_priv.h
index
8419bb7
..
82700a5
100644
(file)
--- 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)