projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc689c9
)
bcm63xx: make ethtool_ops const
author
stephen hemminger
<
[email protected]
>
Thu, 5 Jan 2012 19:10:24 +0000
(19:10 +0000)
committer
David S. Miller
<
[email protected]
>
Mon, 9 Jan 2012 22:05:23 +0000
(14:05 -0800)
Signed-off-by: Stephen Hemminger <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/broadcom/bcm63xx_enet.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/broadcom/bcm63xx_enet.c
b/drivers/net/ethernet/broadcom/bcm63xx_enet.c
index a11a8ad94226d3127ab25dfa17fdd54c70da2ba0..d44331eb07fef00dae3f8e42e1e43a40bf3672bf 100644
(file)
--- a/
drivers/net/ethernet/broadcom/bcm63xx_enet.c
+++ b/
drivers/net/ethernet/broadcom/bcm63xx_enet.c
@@
-1469,7
+1469,7
@@
static int bcm_enet_set_pauseparam(struct net_device *dev,
return 0;
}
-static struct ethtool_ops bcm_enet_ethtool_ops = {
+static
const
struct ethtool_ops bcm_enet_ethtool_ops = {
.get_strings = bcm_enet_get_strings,
.get_sset_count = bcm_enet_get_sset_count,
.get_ethtool_stats = bcm_enet_get_ethtool_stats,