linux-mips
[Top] [All Lists]

[PATCH 2/2] MIPS: Octeon: Fix compile error in drivers/staging/octeon/et

To: linux-mips@linux-mips.org, ralf@linux-mips.org
Subject: [PATCH 2/2] MIPS: Octeon: Fix compile error in drivers/staging/octeon/ethernet-mdio.c
From: David Daney <ddaney@caviumnetworks.com>
Date: Thu, 1 Oct 2009 16:47:39 -0700
Cc: David Daney <ddaney@caviumnetworks.com>
In-reply-to: <4AC53F75.4090902@caviumnetworks.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <4AC53F75.4090902@caviumnetworks.com>
Sender: linux-mips-bounce@linux-mips.org
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
---
 drivers/staging/octeon/ethernet-mdio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/octeon/ethernet-mdio.c 
b/drivers/staging/octeon/ethernet-mdio.c
index 42230e6..31a58e5 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,
-- 
1.6.0.6


<Prev in Thread] Current Thread [Next in Thread>