Skip to content

Commit c3a09c1

Browse files
Jingoo Hangregkh
authored andcommitted
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>
1 parent d7729f0 commit c3a09c1

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎drivers/vme/boards/vme_vmivme7805.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ static void __iomem *vmic_base;
2727

2828
static const char driver_name[] = "vmivme_7805";
2929

30-
static DEFINE_PCI_DEVICE_TABLE(vmic_ids) = {
30+
static const struct pci_device_id vmic_ids[] = {
3131
{ PCI_DEVICE(PCI_VENDOR_ID_VMIC, PCI_DEVICE_ID_VTIMR) },
3232
{ },
3333
};

‎drivers/vme/bridges/vme_ca91cx42.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ static int geoid;
4242

4343
static const char driver_name[] = "vme_ca91cx42";
4444

45-
static DEFINE_PCI_DEVICE_TABLE(ca91cx42_ids) = {
45+
static const struct pci_device_id ca91cx42_ids[] = {
4646
{ PCI_DEVICE(PCI_VENDOR_ID_TUNDRA, PCI_DEVICE_ID_TUNDRA_CA91C142) },
4747
{ },
4848
};

‎drivers/vme/bridges/vme_tsi148.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ static int geoid;
4545

4646
static const char driver_name[] = "vme_tsi148";
4747

48-
static DEFINE_PCI_DEVICE_TABLE(tsi148_ids) = {
48+
static const struct pci_device_id tsi148_ids[] = {
4949
{ PCI_DEVICE(PCI_VENDOR_ID_TUNDRA, PCI_DEVICE_ID_TUNDRA_TSI148) },
5050
{ },
5151
};

0 commit comments

Comments
 (0)