summaryrefslogtreecommitdiffstats
path: root/drivers/net/chelsio/common.h
diff options
context:
space:
mode:
authorAlexey Dobriyan2010-01-07 12:58:11 +0100
committerDavid S. Miller2010-01-08 08:54:26 +0100
commita3aa18842a5303fc28fcc4d57dbd16618bd830a0 (patch)
tree9214348bd1e57ad0a3701314be60adf19dfef702 /drivers/net/chelsio/common.h
parentstmmac: update the driver's module version (diff)
downloadkernel-qcow2-linux-a3aa18842a5303fc28fcc4d57dbd16618bd830a0.tar.gz
kernel-qcow2-linux-a3aa18842a5303fc28fcc4d57dbd16618bd830a0.tar.xz
kernel-qcow2-linux-a3aa18842a5303fc28fcc4d57dbd16618bd830a0.zip
drivers/net/: use DEFINE_PCI_DEVICE_TABLE()
Use DEFINE_PCI_DEVICE_TABLE() so we get place PCI ids table into correct section in every case. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/chelsio/common.h')
-rw-r--r--drivers/net/chelsio/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/chelsio/common.h b/drivers/net/chelsio/common.h
index 699d22c5fe09..f6462b54f823 100644
--- a/drivers/net/chelsio/common.h
+++ b/drivers/net/chelsio/common.h
@@ -334,7 +334,7 @@ static inline int t1_is_asic(const adapter_t *adapter)
return adapter->params.is_asic;
}
-extern struct pci_device_id t1_pci_tbl[];
+extern const struct pci_device_id t1_pci_tbl[];
static inline int adapter_matches_type(const adapter_t *adapter,
int version, int revision)