Skip to content

Commit

Permalink
mei: don't use deprecated DEFINE_PCI_DEVICE_TABLE macro
Browse files Browse the repository at this point in the history
Using struct pci_device_id is preferred  over
deprecated DEFINE_PCI_DEVICE_TABLE macro

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Tomas Winkler authored and Greg Kroah-Hartman committed Mar 17, 2014
1 parent 34e267d commit a05f8f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/misc/mei/pci-me.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
#include "hw-me.h"

/* mei_pci_tbl - PCI Device ID Table */
static DEFINE_PCI_DEVICE_TABLE(mei_me_pci_tbl) = {
static const struct pci_device_id mei_me_pci_tbl[] = {
{PCI_DEVICE(PCI_VENDOR_ID_INTEL, MEI_DEV_ID_82946GZ)},
{PCI_DEVICE(PCI_VENDOR_ID_INTEL, MEI_DEV_ID_82G35)},
{PCI_DEVICE(PCI_VENDOR_ID_INTEL, MEI_DEV_ID_82Q965)},
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/mei/pci-txe.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include "mei_dev.h"
#include "hw-txe.h"

static DEFINE_PCI_DEVICE_TABLE(mei_txe_pci_tbl) = {
static const struct pci_device_id mei_txe_pci_tbl[] = {
{PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x0F18)}, /* Baytrail */
{0, }
};
Expand Down

0 comments on commit a05f8f8

Please sign in to comment.