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
@@ -113,7 +113,7 @@ MODULE_PARM_DESC(coalesce, "Enable or Disable interrupt coalescing, 1: Enable, 0
|
||||
module_param_array(dynamic_ipg, bool, NULL, 0);
|
||||
MODULE_PARM_DESC(dynamic_ipg, "Enable or Disable dynamic IPG, 1: Enable, 0: Disable");
|
||||
|
||||
static struct pci_device_id amd8111e_pci_tbl[] = {
|
||||
static DEFINE_PCI_DEVICE_TABLE(amd8111e_pci_tbl) = {
|
||||
|
||||
{ PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD8111E_7462,
|
||||
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL },
|
||||
|
Reference in New Issue
Block a user