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>
This commit is contained in:

committed by
Linus Walleij

parent
0299b77b44
commit
14f4a8838a
@@ -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, },
|
||||
};
|
||||
|
Reference in New Issue
Block a user