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
/
staging
/
at76_usb
/
at76_usb.c
diff --git
a/drivers/staging/at76_usb/at76_usb.c
b/drivers/staging/at76_usb/at76_usb.c
index 7b8aa5edf42f2d55217ef2caaeb1b3a44a4fac74..c165c50c011944d7139831702594ca982f46db34 100644
(file)
--- a/
drivers/staging/at76_usb/at76_usb.c
+++ b/
drivers/staging/at76_usb/at76_usb.c
@@
-3396,7
+3396,7
@@
static u32 at76_ethtool_get_link(struct net_device *netdev)
return priv->mac_state == MAC_CONNECTED;
}
-static struct ethtool_ops at76_ethtool_ops = {
+static
const
struct ethtool_ops at76_ethtool_ops = {
.get_drvinfo = at76_ethtool_get_drvinfo,
.get_link = at76_ethtool_get_link,
};