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
/
arm
/
ep93xx_eth.c
diff --git
a/drivers/net/arm/ep93xx_eth.c
b/drivers/net/arm/ep93xx_eth.c
index fbf4645417d496941f5e6fdccba6c988ec136808..2be49c817995d45e7802fee8eeb61b0e99cf7ad8 100644
(file)
--- a/
drivers/net/arm/ep93xx_eth.c
+++ b/
drivers/net/arm/ep93xx_eth.c
@@
-762,7
+762,7
@@
static u32 ep93xx_get_link(struct net_device *dev)
return mii_link_ok(&ep->mii);
}
-static struct ethtool_ops ep93xx_ethtool_ops = {
+static
const
struct ethtool_ops ep93xx_ethtool_ops = {
.get_drvinfo = ep93xx_get_drvinfo,
.get_settings = ep93xx_get_settings,
.set_settings = ep93xx_set_settings,