diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2014-03-16 14:35:58 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-17 15:59:34 -0700 |
commit | a05f8f86e49749f239c49257db1d3ac6f474f0dd (patch) | |
tree | 416022df1eac41b25b396e6a8a32dec6c65716ab /drivers/misc/mei/pci-txe.c | |
parent | 34e267d0f49ef4c54eb7b2abbb1b001fa6f26f0e (diff) | |
download | linux-a05f8f86e49749f239c49257db1d3ac6f474f0dd.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, } }; |