summaryrefslogtreecommitdiff
path: root/drivers/mfd/vx855.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-12-03 08:15:39 +0900
committerLee Jones <lee.jones@linaro.org>2014-01-21 08:27:45 +0000
commit36fcd06c4638acacee7135906cab60f11ea1ffac (patch)
tree78c555a9b519510176e63f8d9edfb01c97f4760e /drivers/mfd/vx855.c
parent97b583f3b491f75712b0edc89c26a112f3847ab3 (diff)
mfd: 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: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/vx855.c')
-rw-r--r--drivers/mfd/vx855.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/vx855.c b/drivers/mfd/vx855.c
index 5cd5661158bc..84f01da4875e 100644
--- a/drivers/mfd/vx855.c
+++ b/drivers/mfd/vx855.c
@@ -118,7 +118,7 @@ static void vx855_remove(struct pci_dev *pdev)
pci_disable_device(pdev);
}
-static DEFINE_PCI_DEVICE_TABLE(vx855_pci_tbl) = {
+static const struct pci_device_id vx855_pci_tbl[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_VX855) },
{ 0, }
};