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
/
usb
/
gadget
/
u_ether.c
diff --git
a/drivers/usb/gadget/u_ether.c
b/drivers/usb/gadget/u_ether.c
index dc3ebd1e68ca8feb5573e7c35f264e584502616b..c665219539170988c1083d6b379dec303b68fb08 100644
(file)
--- a/
drivers/usb/gadget/u_ether.c
+++ b/
drivers/usb/gadget/u_ether.c
@@
-181,7
+181,7
@@
static void eth_get_drvinfo(struct net_device *net, struct ethtool_drvinfo *p)
* - ... probably more ethtool ops
*/
-static struct ethtool_ops ops = {
+static
const
struct ethtool_ops ops = {
.get_drvinfo = eth_get_drvinfo,
.get_link = ethtool_op_get_link,
};