projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
631b756
)
smsc911x: make smsc911x_ethtool_ops constant
author
Steve Glendinning
<steve.glendinning@smsc.com>
Fri, 26 Dec 2008 00:41:09 +0000
(16:41 -0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 26 Dec 2008 00:41:09 +0000
(16:41 -0800)
Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/smsc911x.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/smsc911x.c
b/drivers/net/smsc911x.c
index 761b96c1758d1f0fc88c0f763465249dec1aa009..cbaf0a5bb22fd2f1f0b68e4cf08fe3fa77158d4b 100644
(file)
--- a/
drivers/net/smsc911x.c
+++ b/
drivers/net/smsc911x.c
@@
-1718,7
+1718,7
@@
static int smsc911x_ethtool_set_eeprom(struct net_device *dev,
return ret;
}
-static struct ethtool_ops smsc911x_ethtool_ops = {
+static
const
struct ethtool_ops smsc911x_ethtool_ops = {
.get_settings = smsc911x_ethtool_getsettings,
.set_settings = smsc911x_ethtool_setsettings,
.get_link = ethtool_op_get_link,