You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
committed by
Borislav Petkov
parent
7f3f5240ce
commit
ba935f4097
@@ -1213,7 +1213,7 @@ static void i5100_remove_one(struct pci_dev *pdev)
|
||||
edac_mc_free(mci);
|
||||
}
|
||||
|
||||
static DEFINE_PCI_DEVICE_TABLE(i5100_pci_tbl) = {
|
||||
static const struct pci_device_id i5100_pci_tbl[] = {
|
||||
/* Device 16, Function 0, Channel 0 Memory Map, Error Flag/Mask, ... */
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_5100_16) },
|
||||
{ 0, }
|
||||
|
||||
Reference in New Issue
Block a user