projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netdev: drivers should make ethtool_ops const
[linux-2.6-block.git]
/
drivers
/
net
/
atl1e
/
atl1e_ethtool.c
diff --git
a/drivers/net/atl1e/atl1e_ethtool.c
b/drivers/net/atl1e/atl1e_ethtool.c
index 4003955d7a9650b3ed095ee516b3f671f666e37d..60edb9f232bb8a6d8ce0623f7346ddab5fe3ef52 100644
(file)
--- a/
drivers/net/atl1e/atl1e_ethtool.c
+++ b/
drivers/net/atl1e/atl1e_ethtool.c
@@
-378,7
+378,7
@@
static int atl1e_nway_reset(struct net_device *netdev)
return 0;
}
-static struct ethtool_ops atl1e_ethtool_ops = {
+static
const
struct ethtool_ops atl1e_ethtool_ops = {
.get_settings = atl1e_get_settings,
.set_settings = atl1e_set_settings,
.get_drvinfo = atl1e_get_drvinfo,