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
/
netxen
/
netxen_nic_ethtool.c
diff --git
a/drivers/net/netxen/netxen_nic_ethtool.c
b/drivers/net/netxen/netxen_nic_ethtool.c
index 3886135006e1a4f04bf9768f8f86547292d4115d..e376a1c4eb061ca0f68cf1f7efcd70e6f8edac3c 100644
(file)
--- a/
drivers/net/netxen/netxen_nic_ethtool.c
+++ b/
drivers/net/netxen/netxen_nic_ethtool.c
@@
-963,7
+963,7
@@
static int netxen_nic_set_flags(struct net_device *netdev, u32 data)
return 0;
}
-struct ethtool_ops netxen_nic_ethtool_ops = {
+
const
struct ethtool_ops netxen_nic_ethtool_ops = {
.get_settings = netxen_nic_get_settings,
.set_settings = netxen_nic_set_settings,
.get_drvinfo = netxen_nic_get_drvinfo,