diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-12-03 08:08:45 +0900 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-12-03 13:16:09 +0100 |
commit | 14f4a8838acac0fe6bf710ec08fc4cce57c0011b (patch) | |
tree | 0aa70c2b0b9856a101ef623af771b0b2cfd35944 /drivers/gpio/gpio-sodaville.c | |
parent | 0299b77b44531ae0963fe86d8b9cb9b5ddb584b7 (diff) | |
download | linux-14f4a8838acac0fe6bf710ec08fc4cce57c0011b.tar.bz2 |
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-sodaville.c')
-rw-r--r-- | drivers/gpio/gpio-sodaville.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-sodaville.c b/drivers/gpio/gpio-sodaville.c index 88f374ac7753..5d171e0182db 100644 --- a/drivers/gpio/gpio-sodaville.c +++ b/drivers/gpio/gpio-sodaville.c @@ -270,7 +270,7 @@ static void sdv_gpio_remove(struct pci_dev *pdev) kfree(sd); } -static DEFINE_PCI_DEVICE_TABLE(sdv_gpio_pci_ids) = { +static const struct pci_device_id sdv_gpio_pci_ids[] = { { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_SDV_GPIO) }, { 0, }, }; |