From f3fe077b2b7fb9c9b354a85a2be7fc8ad453d246 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Sun, 2 Sep 2012 08:04:04 +0800 Subject: gpio: Use DEFINE_PCI_DEVICE_TABLE macro Signed-off-by: Axel Lin Signed-off-by: Linus Walleij --- drivers/gpio/gpio-sodaville.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpio/gpio-sodaville.c') diff --git a/drivers/gpio/gpio-sodaville.c b/drivers/gpio/gpio-sodaville.c index 9d9891f7a60..e25f73130b4 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, }, }; -- cgit v1.2.3-70-g09d2