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:

zatwierdzone przez
David S. Miller

rodzic
108316c1bd
commit
a3aa18842a
@@ -334,7 +334,7 @@ static const struct {
|
||||
{ "SiS 191 PCI Gigabit Ethernet adapter" },
|
||||
};
|
||||
|
||||
static struct pci_device_id sis190_pci_tbl[] = {
|
||||
static DEFINE_PCI_DEVICE_TABLE(sis190_pci_tbl) = {
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_SI, 0x0190), 0, 0, 0 },
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_SI, 0x0191), 0, 0, 1 },
|
||||
{ 0, },
|
||||
|
Reference in New Issue
Block a user