summaryrefslogtreecommitdiffstats
path: root/drivers/net/ns83820.c
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@infradead.org>2006-03-04 03:33:57 +0100
committerJeff Garzik <jeff@garzik.org>2006-03-04 03:33:57 +0100
commitf71e130966ba429dbd24be08ddbcdf263df9a5ad (patch)
tree523f10c926012f520c47894811b94944a7793fd5 /drivers/net/ns83820.c
parent[PATCH] reiserfs: do not check if unsigned < 0 (diff)
downloadlinux-f71e130966ba429dbd24be08ddbcdf263df9a5ad.tar.xz
linux-f71e130966ba429dbd24be08ddbcdf263df9a5ad.zip
Massive net driver const-ification.
Diffstat (limited to 'drivers/net/ns83820.c')
-rw-r--r--drivers/net/ns83820.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ns83820.c b/drivers/net/ns83820.c
index b0c3b6ab6263..f3924fb615b2 100644
--- a/drivers/net/ns83820.c
+++ b/drivers/net/ns83820.c
@@ -651,7 +651,7 @@ static void FASTCALL(phy_intr(struct net_device *ndev));
static void fastcall phy_intr(struct net_device *ndev)
{
struct ns83820 *dev = PRIV(ndev);
- static char *speeds[] = { "10", "100", "1000", "1000(?)", "1000F" };
+ static const char *speeds[] = { "10", "100", "1000", "1000(?)", "1000F" };
u32 cfg, new_cfg;
u32 tbisr, tanar, tanlpar;
int speed, fullduplex, newlinkstate;