diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-12-03 08:15:39 +0900 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-01-21 08:27:45 +0000 |
commit | 36fcd06c4638acacee7135906cab60f11ea1ffac (patch) | |
tree | 78c555a9b519510176e63f8d9edfb01c97f4760e /drivers/mfd/sm501.c | |
parent | 97b583f3b491f75712b0edc89c26a112f3847ab3 (diff) | |
download | op-kernel-dev-36fcd06c4638acacee7135906cab60f11ea1ffac.zip op-kernel-dev-36fcd06c4638acacee7135906cab60f11ea1ffac.tar.gz |
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/sm501.c')
-rw-r--r-- | drivers/mfd/sm501.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/sm501.c b/drivers/mfd/sm501.c index c2c8c91..e7dc441 100644 --- a/drivers/mfd/sm501.c +++ b/drivers/mfd/sm501.c @@ -1710,7 +1710,7 @@ static int sm501_plat_remove(struct platform_device *dev) return 0; } -static DEFINE_PCI_DEVICE_TABLE(sm501_pci_tbl) = { +static const struct pci_device_id sm501_pci_tbl[] = { { 0x126f, 0x0501, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, { 0, }, }; |