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
@@ -31,7 +31,7 @@ MODULE_DESCRIPTION("Support for Atmel at76c50x 802.11 wireless ethernet cards.")
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_SUPPORTED_DEVICE("Atmel at76c506 PCI wireless cards");
|
||||
|
||||
static struct pci_device_id card_ids[] = {
|
||||
static DEFINE_PCI_DEVICE_TABLE(card_ids) = {
|
||||
{ 0x1114, 0x0506, PCI_ANY_ID, PCI_ANY_ID },
|
||||
{ 0, }
|
||||
};
|
||||
|
Reference in New Issue
Block a user