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
/
catc.c
diff --git
a/drivers/net/usb/catc.c
b/drivers/net/usb/catc.c
index 0ffc0c6d03be619c6be9736330c33821e94f63a4..2bed6b087d164b9f4a5cca1567b9b2688cabab71 100644
(file)
--- a/
drivers/net/usb/catc.c
+++ b/
drivers/net/usb/catc.c
@@
-698,7
+698,7
@@
static int catc_get_settings(struct net_device *dev, struct ethtool_cmd *cmd)
return 0;
}
-static struct ethtool_ops ops = {
+static
const
struct ethtool_ops ops = {
.get_drvinfo = catc_get_drvinfo,
.get_settings = catc_get_settings,
.get_link = ethtool_op_get_link