forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
d7729f0fc4
commit
c3a09c18ed
|
@ -27,7 +27,7 @@ static void __iomem *vmic_base;
|
|||
|
||||
static const char driver_name[] = "vmivme_7805";
|
||||
|
||||
static DEFINE_PCI_DEVICE_TABLE(vmic_ids) = {
|
||||
static const struct pci_device_id vmic_ids[] = {
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_VMIC, PCI_DEVICE_ID_VTIMR) },
|
||||
{ },
|
||||
};
|
||||
|
|
|
@ -42,7 +42,7 @@ static int geoid;
|
|||
|
||||
static const char driver_name[] = "vme_ca91cx42";
|
||||
|
||||
static DEFINE_PCI_DEVICE_TABLE(ca91cx42_ids) = {
|
||||
static const struct pci_device_id ca91cx42_ids[] = {
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_TUNDRA, PCI_DEVICE_ID_TUNDRA_CA91C142) },
|
||||
{ },
|
||||
};
|
||||
|
|
|
@ -45,7 +45,7 @@ static int geoid;
|
|||
|
||||
static const char driver_name[] = "vme_tsi148";
|
||||
|
||||
static DEFINE_PCI_DEVICE_TABLE(tsi148_ids) = {
|
||||
static const struct pci_device_id tsi148_ids[] = {
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_TUNDRA, PCI_DEVICE_ID_TUNDRA_TSI148) },
|
||||
{ },
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user