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
/
usb
/
kaweth.c
diff --git
a/drivers/net/usb/kaweth.c
b/drivers/net/usb/kaweth.c
index 7f397365b43743f3e681e6cd368ef1c08e48d22d..e2a39b9be96e25fcea7faefca6328e1d3b2d3e2b 100644
(file)
--- a/
drivers/net/usb/kaweth.c
+++ b/
drivers/net/usb/kaweth.c
@@
-778,7
+778,7
@@
static u32 kaweth_get_link(struct net_device *dev)
return kaweth->linkstate;
}
-static struct ethtool_ops ops = {
+static
const
struct ethtool_ops ops = {
.get_drvinfo = kaweth_get_drvinfo,
.get_link = kaweth_get_link
};