MIPS: Octeon: Fix compile error in drivers/staging/octeon/ethernet-mdio.c
authorDavid Daney <ddaney@caviumnetworks.com>
Thu, 1 Oct 2009 23:47:39 +0000 (16:47 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 23 Nov 2009 18:55:34 +0000 (18:55 +0000)
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
drivers/staging/octeon/ethernet-mdio.c

index 42230e6..31a58e5 100644 (file)
@@ -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,