summaryrefslogtreecommitdiffstats
path: root/drivers/misc/mei/pci-txe.c
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2014-03-16 14:35:58 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-17 15:59:34 -0700
commita05f8f86e49749f239c49257db1d3ac6f474f0dd (patch)
tree416022df1eac41b25b396e6a8a32dec6c65716ab /drivers/misc/mei/pci-txe.c
parent34e267d0f49ef4c54eb7b2abbb1b001fa6f26f0e (diff)
downloadop-kernel-dev-a05f8f86e49749f239c49257db1d3ac6f474f0dd.zip
op-kernel-dev-a05f8f86e49749f239c49257db1d3ac6f474f0dd.tar.gz
mei: don't use deprecated DEFINE_PCI_DEVICE_TABLE macro
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>
Diffstat (limited to 'drivers/misc/mei/pci-txe.c')
-rw-r--r--drivers/misc/mei/pci-txe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/mei/pci-txe.c b/drivers/misc/mei/pci-txe.c
index a5bf39a..ad3adb0 100644
--- a/drivers/misc/mei/pci-txe.c
+++ b/drivers/misc/mei/pci-txe.c
@@ -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, }
};
OpenPOWER on IntegriCloud