[v3,2/2] mcb: add Altera PCI ID to mcb-pci

Message ID 20180312094119.5298-3-jthumshirn@suse.de
State Accepted
Delegated to: Bjorn Helgaas
Headers show
  • MCB Update for v4.17
Related show

Commit Message

Johannes Thumshirn March 12, 2018, 9:41 a.m.
Some older PCI attached MEN FPGAs use an Altera PCI Vendor ID instead
of the MEN one. Add it to the PCI ID table so the driver automatically
attaches to it.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reported-by: Ben Turner <ben.turner@21net.com>
Tested-by: Ben Turner <ben.turner@21net.com>
Cc: Andreas Gei├čler <andreas.geissler@men.de>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>

Changes to v2:
- Add Andy's review

Changes to v1:
- Removed redundant include of pci_ids.h
 drivers/mcb/mcb-pci.c | 1 +
 1 file changed, 1 insertion(+)


diff --git a/drivers/mcb/mcb-pci.c b/drivers/mcb/mcb-pci.c
index af4d2f26f1c6..c2d69e33bf2b 100644
--- a/drivers/mcb/mcb-pci.c
+++ b/drivers/mcb/mcb-pci.c
@@ -117,6 +117,7 @@  static void mcb_pci_remove(struct pci_dev *pdev)
 static const struct pci_device_id mcb_pci_tbl[] = {
 	{ 0 },
 MODULE_DEVICE_TABLE(pci, mcb_pci_tbl);