diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-12-02 23:15:39 (GMT) |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-01-21 08:27:45 (GMT) |
commit | 36fcd06c4638acacee7135906cab60f11ea1ffac (patch) | |
tree | 78c555a9b519510176e63f8d9edfb01c97f4760e /drivers/mfd/janz-cmodio.c | |
parent | 97b583f3b491f75712b0edc89c26a112f3847ab3 (diff) | |
download | linux-36fcd06c4638acacee7135906cab60f11ea1ffac.tar.xz |
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/janz-cmodio.c')
-rw-r--r-- | drivers/mfd/janz-cmodio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/janz-cmodio.c b/drivers/mfd/janz-cmodio.c index fcbb2e9..81b7d88 100644 --- a/drivers/mfd/janz-cmodio.c +++ b/drivers/mfd/janz-cmodio.c @@ -265,7 +265,7 @@ static void cmodio_pci_remove(struct pci_dev *dev) #define PCI_VENDOR_ID_JANZ 0x13c3 /* The list of devices that this module will support */ -static DEFINE_PCI_DEVICE_TABLE(cmodio_pci_ids) = { +static const struct pci_device_id cmodio_pci_ids[] = { { PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_9030, PCI_VENDOR_ID_JANZ, 0x0101 }, { PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_9050, PCI_VENDOR_ID_JANZ, 0x0100 }, { 0, } |