git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
drivers
/
net
/
chelsio
/
subr.c
diff --git
a/drivers/net/chelsio/subr.c
b/drivers/net/chelsio/subr.c
index
12e4e96
..
1ebb5d1
100644
(file)
--- 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 void __devinit get_pci_mode(adapter_t *adapter, struct chelsio_pci_params *p)
{
- static
const
unsigned short speed_map[] = { 33, 66, 100, 133 };
+ static unsigned short speed_map[] = { 33, 66, 100, 133 };
u32 pci_mode;
pci_read_config_dword(adapter->pdev, A_PCICFG_MODE, &pci_mode);
u32 pci_mode;
pci_read_config_dword(adapter->pdev, A_PCICFG_MODE, &pci_mode);