From a05f8f86e49749f239c49257db1d3ac6f474f0dd Mon Sep 17 00:00:00 2001 From: Tomas Winkler Date: Sun, 16 Mar 2014 14:35:58 +0200 Subject: 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 Signed-off-by: Greg Kroah-Hartman --- drivers/misc/mei/pci-txe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/misc/mei/pci-txe.c') diff --git a/drivers/misc/mei/pci-txe.c b/drivers/misc/mei/pci-txe.c index a5bf39ad3ff1..ad3adb009a1e 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, } }; -- cgit v1.2.3