diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-12-06 10:23:08 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2013-12-06 10:23:41 +0100 |
commit | ba935f40979b32924824759111ed95d35469c5fa (patch) | |
tree | eaee10d2ea00141500dcf1ff837e8963fa37e180 /drivers/edac/i7300_edac.c | |
parent | amd64_edac: Fix condition to verify max channels allowed for F15 M30h (diff) | |
download | linux-ba935f40979b32924824759111ed95d35469c5fa.tar.xz linux-ba935f40979b32924824759111ed95d35469c5fa.zip |
EDAC: Remove DEFINE_PCI_DEVICE_TABLE macro
Currently, there is no other bus that has something like this macro for
their device ids. Thus, DEFINE_PCI_DEVICE_TABLE macro should be removed.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Link: http://lkml.kernel.org/r/001c01ceefb3$5724d860$056e8920$%han@samsung.com
[ Boris: swap commit message with better one. ]
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac/i7300_edac.c')
-rw-r--r-- | drivers/edac/i7300_edac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/i7300_edac.c b/drivers/edac/i7300_edac.c index 9004c64b169e..d63f4798f7d0 100644 --- a/drivers/edac/i7300_edac.c +++ b/drivers/edac/i7300_edac.c @@ -1160,7 +1160,7 @@ static void i7300_remove_one(struct pci_dev *pdev) * * Has only 8086:360c PCI ID */ -static DEFINE_PCI_DEVICE_TABLE(i7300_pci_tbl) = { +static const struct pci_device_id i7300_pci_tbl[] = { {PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_I7300_MCH_ERR)}, {0,} /* 0 terminated list. */ }; |