Massive net driver const-ification.

This commit is contained in:
Arjan van de Ven
2006-03-03 21:33:57 -05:00
committed by Jeff Garzik
parent c499ec24c3
commit f71e130966
43 changed files with 118 additions and 118 deletions

View File

@@ -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);