Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

vme: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Jingoo Han and committed by
Greg Kroah-Hartman
c3a09c18 d7729f0f

+3 -3
+1 -1
drivers/vme/boards/vme_vmivme7805.c
··· 27 27 28 28 static const char driver_name[] = "vmivme_7805"; 29 29 30 - static DEFINE_PCI_DEVICE_TABLE(vmic_ids) = { 30 + static const struct pci_device_id vmic_ids[] = { 31 31 { PCI_DEVICE(PCI_VENDOR_ID_VMIC, PCI_DEVICE_ID_VTIMR) }, 32 32 { }, 33 33 };
+1 -1
drivers/vme/bridges/vme_ca91cx42.c
··· 42 42 43 43 static const char driver_name[] = "vme_ca91cx42"; 44 44 45 - static DEFINE_PCI_DEVICE_TABLE(ca91cx42_ids) = { 45 + static const struct pci_device_id ca91cx42_ids[] = { 46 46 { PCI_DEVICE(PCI_VENDOR_ID_TUNDRA, PCI_DEVICE_ID_TUNDRA_CA91C142) }, 47 47 { }, 48 48 };
+1 -1
drivers/vme/bridges/vme_tsi148.c
··· 45 45 46 46 static const char driver_name[] = "vme_tsi148"; 47 47 48 - static DEFINE_PCI_DEVICE_TABLE(tsi148_ids) = { 48 + static const struct pci_device_id tsi148_ids[] = { 49 49 { PCI_DEVICE(PCI_VENDOR_ID_TUNDRA, PCI_DEVICE_ID_TUNDRA_TSI148) }, 50 50 { }, 51 51 };