diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-01-22 00:58:51 -0500 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-02-01 20:47:06 -0500 |
commit | d7789430de0865a55496213d6af2a870069c4dac (patch) | |
tree | dbedf6ec648d53a8c04e29de0704e5dc7e631654 /drivers/leds | |
parent | 962363cedae26c99201b015c6f0f342313b629e4 (diff) |
leds: leds-ss4200: use DEFINE_PCI_DEVICE_TABLE
This macro is used to create a struct pci_device_id array.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/leds')
-rw-r--r-- | drivers/leds/leds-ss4200.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/leds/leds-ss4200.c b/drivers/leds/leds-ss4200.c index ec9b287ecfbf..64e204e714f6 100644 --- a/drivers/leds/leds-ss4200.c +++ b/drivers/leds/leds-ss4200.c | |||
@@ -63,8 +63,7 @@ MODULE_LICENSE("GPL"); | |||
63 | /* | 63 | /* |
64 | * PCI ID of the Intel ICH7 LPC Device within which the GPIO block lives. | 64 | * PCI ID of the Intel ICH7 LPC Device within which the GPIO block lives. |
65 | */ | 65 | */ |
66 | static const struct pci_device_id ich7_lpc_pci_id[] = | 66 | static DEFINE_PCI_DEVICE_TABLE(ich7_lpc_pci_id) = { |
67 | { | ||
68 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH7_0) }, | 67 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH7_0) }, |
69 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH7_1) }, | 68 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH7_1) }, |
70 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH7_30) }, | 69 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH7_30) }, |