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 42230e62a2227b9bf1297ff575a2c618b98902de..31a58e50892417b57f58b28374e6a320eaff5c43 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,