summaryrefslogtreecommitdiffstats
path: root/drivers/net/chelsio
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/chelsio
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/chelsio')
-rw-r--r--drivers/net/chelsio/subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/chelsio/subr.c b/drivers/net/chelsio/subr.c
index 1ebb5d149aef..12e4e96dba2d 100644
--- a/drivers/net/chelsio/subr.c
+++ b/drivers/net/chelsio/subr.c
@@ -686,7 +686,7 @@ int t1_init_hw_modules(adapter_t *adapter)
*/
static void __devinit get_pci_mode(adapter_t *adapter, struct chelsio_pci_params *p)
{
- static unsigned short speed_map[] = { 33, 66, 100, 133 };
+ static const unsigned short speed_map[] = { 33, 66, 100, 133 };
u32 pci_mode;
pci_read_config_dword(adapter->pdev, A_PCICFG_MODE, &pci_mode);