summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-sodaville.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-09-02 02:04:04 +0200
committerLinus Walleij <linus.walleij@linaro.org>2012-09-04 09:23:07 +0200
commitf3fe077b2b7fb9c9b354a85a2be7fc8ad453d246 (patch)
tree7572af2770f889f3b65500bd3bb1adcb328049d8 /drivers/gpio/gpio-sodaville.c
parentgpio: tps65912: Convert to use devm_kzalloc API (diff)
downloadlinux-f3fe077b2b7fb9c9b354a85a2be7fc8ad453d246.tar.xz
linux-f3fe077b2b7fb9c9b354a85a2be7fc8ad453d246.zip
gpio: Use DEFINE_PCI_DEVICE_TABLE macro
Signed-off-by: Axel Lin <axel.lin@gmail.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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-sodaville.c b/drivers/gpio/gpio-sodaville.c
index 9d9891f7a607..e25f73130b40 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 struct pci_device_id sdv_gpio_pci_ids[] __devinitdata = {
+static DEFINE_PCI_DEVICE_TABLE(sdv_gpio_pci_ids) = {
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_SDV_GPIO) },
{ 0, },
};