summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-ss4200.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-02-26 06:10:51 +0100
committerBryan Wu <cooloney@gmail.com>2014-02-27 19:17:14 +0100
commita6a83218d78339c19c4d6105316654ecd6632f7f (patch)
tree2389d78f37268fda3a0fd9f95ef39283031b9b67 /drivers/leds/leds-ss4200.c
parentleds: leds-s3c24xx: Trivial cleanup in header file (diff)
downloadlinux-a6a83218d78339c19c4d6105316654ecd6632f7f.tar.xz
linux-a6a83218d78339c19c4d6105316654ecd6632f7f.zip
leds: leds-ss4200: remove DEFINE_PCI_DEVICE_TABLE macro
Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro is deprecated. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to '')
-rw-r--r--drivers/leds/leds-ss4200.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-ss4200.c b/drivers/leds/leds-ss4200.c
index 5b8f938a8d73..2bdf6420bdfc 100644
--- a/drivers/leds/leds-ss4200.c
+++ b/drivers/leds/leds-ss4200.c
@@ -63,7 +63,7 @@ MODULE_LICENSE("GPL");
/*
* PCI ID of the Intel ICH7 LPC Device within which the GPIO block lives.
*/
-static DEFINE_PCI_DEVICE_TABLE(ich7_lpc_pci_id) = {
+static const struct pci_device_id ich7_lpc_pci_id[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH7_0) },
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH7_1) },
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH7_30) },