diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-12-03 00:15:39 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-01-21 09:27:45 +0100 |
commit | 36fcd06c4638acacee7135906cab60f11ea1ffac (patch) | |
tree | 78c555a9b519510176e63f8d9edfb01c97f4760e /drivers/mfd/sta2x11-mfd.c | |
parent | mfd/pinctrl: Delete platform data header (diff) | |
download | linux-36fcd06c4638acacee7135906cab60f11ea1ffac.tar.xz linux-36fcd06c4638acacee7135906cab60f11ea1ffac.zip |
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/sta2x11-mfd.c')
-rw-r--r-- | drivers/mfd/sta2x11-mfd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/sta2x11-mfd.c b/drivers/mfd/sta2x11-mfd.c index 65c6fa671acb..53ab686c984f 100644 --- a/drivers/mfd/sta2x11-mfd.c +++ b/drivers/mfd/sta2x11-mfd.c @@ -642,7 +642,7 @@ err_disable: return err; } -static DEFINE_PCI_DEVICE_TABLE(sta2x11_mfd_tbl) = { +static const struct pci_device_id sta2x11_mfd_tbl[] = { {PCI_DEVICE(PCI_VENDOR_ID_STMICRO, PCI_DEVICE_ID_STMICRO_GPIO)}, {PCI_DEVICE(PCI_VENDOR_ID_STMICRO, PCI_DEVICE_ID_STMICRO_VIC)}, {0,}, |