summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-pch.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-12-03 08:08:45 +0900
committerLinus Walleij <linus.walleij@linaro.org>2013-12-03 13:16:09 +0100
commit14f4a8838acac0fe6bf710ec08fc4cce57c0011b (patch)
tree0aa70c2b0b9856a101ef623af771b0b2cfd35944 /drivers/gpio/gpio-pch.c
parent0299b77b44531ae0963fe86d8b9cb9b5ddb584b7 (diff)
downloadop-kernel-dev-14f4a8838acac0fe6bf710ec08fc4cce57c0011b.zip
op-kernel-dev-14f4a8838acac0fe6bf710ec08fc4cce57c0011b.tar.gz
gpio: remove DEFINE_PCI_DEVICE_TABLE macro
Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro is not preferred. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-pch.c')
-rw-r--r--drivers/gpio/gpio-pch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-pch.c b/drivers/gpio/gpio-pch.c
index 0fec097..ef7a756 100644
--- a/drivers/gpio/gpio-pch.c
+++ b/drivers/gpio/gpio-pch.c
@@ -518,7 +518,7 @@ static int pch_gpio_resume(struct pci_dev *pdev)
#endif
#define PCI_VENDOR_ID_ROHM 0x10DB
-static DEFINE_PCI_DEVICE_TABLE(pch_gpio_pcidev_id) = {
+static const struct pci_device_id pch_gpio_pcidev_id[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x8803) },
{ PCI_DEVICE(PCI_VENDOR_ID_ROHM, 0x8014) },
{ PCI_DEVICE(PCI_VENDOR_ID_ROHM, 0x8043) },
OpenPOWER on IntegriCloud