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>
This commit is contained in:

committed by
David S. Miller

parent
108316c1bd
commit
a3aa18842a
@@ -39,7 +39,7 @@ static unsigned int rx_ring_size __read_mostly = 16;
|
||||
module_param(tx_ring_size, uint, 0);
|
||||
module_param(rx_ring_size, uint, 0);
|
||||
|
||||
static struct pci_device_id adm8211_pci_id_table[] __devinitdata = {
|
||||
static DEFINE_PCI_DEVICE_TABLE(adm8211_pci_id_table) = {
|
||||
/* ADMtek ADM8211 */
|
||||
{ PCI_DEVICE(0x10B7, 0x6000) }, /* 3Com 3CRSHPW796 */
|
||||
{ PCI_DEVICE(0x1200, 0x8201) }, /* ? */
|
||||
|
Reference in New Issue
Block a user