git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drivers/net: const-ify ethtool_ops declarations
[pandora-kernel.git]
/
drivers
/
net
/
sunqe.c
diff --git
a/drivers/net/sunqe.c
b/drivers/net/sunqe.c
index
d5c1448
..
9202a1c
100644
(file)
--- a/
drivers/net/sunqe.c
+++ b/
drivers/net/sunqe.c
@@
-718,7
+718,7
@@
static u32 qe_get_link(struct net_device *dev)
return (phyconfig & MREGS_PHYCONFIG_LSTAT);
}
-static struct ethtool_ops qe_ethtool_ops = {
+static
const
struct ethtool_ops qe_ethtool_ops = {
.get_drvinfo = qe_get_drvinfo,
.get_link = qe_get_link,
};