summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorDavid Daney <ddaney@caviumnetworks.com>2009-10-01 16:47:39 -0700
committerRalf Baechle <ralf@linux-mips.org>2009-11-23 18:55:34 +0000
commit9326e3614d72e40ea8d910fed829ec72c9b70798 (patch)
tree3933d4fe7acb2f12305f4b7c13748f7be033e630 /drivers/staging
parenta8a8a669ea13d792296737505adc43ccacf3a648 (diff)
downloadlinux-9326e3614d72e40ea8d910fed829ec72c9b70798.tar.bz2
MIPS: Octeon: Fix compile error in drivers/staging/octeon/ethernet-mdio.c
Signed-off-by: David Daney <ddaney@caviumnetworks.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/octeon/ethernet-mdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/octeon/ethernet-mdio.c b/drivers/staging/octeon/ethernet-mdio.c
index 42230e62a222..31a58e508924 100644
--- a/drivers/staging/octeon/ethernet-mdio.c
+++ b/drivers/staging/octeon/ethernet-mdio.c
@@ -170,7 +170,7 @@ static u32 cvm_oct_get_link(struct net_device *dev)
return ret;
}
-struct const ethtool_ops cvm_oct_ethtool_ops = {
+const struct ethtool_ops cvm_oct_ethtool_ops = {
.get_drvinfo = cvm_oct_get_drvinfo,
.get_settings = cvm_oct_get_settings,
.set_settings = cvm_oct_set_settings,