misc: pci_endpoint_test: Add DesignWare EP entry
authorGustavo Pimentel <gustavo.pimentel@synopsys.com>
Tue, 15 May 2018 14:41:44 +0000 (15:41 +0100)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tue, 15 May 2018 14:54:40 +0000 (15:54 +0100)
Add the DesignWare EP device ID entry to pci_endpoint_test driver table.

Allow the device to be recognized and handled by the pci_endpoint_test
driver.

Signed-off-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/misc/pci_endpoint_test.c

index fe8897e64635c77334c3900602382e226b6fe4ac..58a88ba71e2a4cbd49c1541993c00d73d92f9f01 100644 (file)
@@ -634,6 +634,7 @@ static void pci_endpoint_test_remove(struct pci_dev *pdev)
 static const struct pci_device_id pci_endpoint_test_tbl[] = {
        { PCI_DEVICE(PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_DRA74x) },
        { PCI_DEVICE(PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_DRA72x) },
+       { PCI_DEVICE(PCI_VENDOR_ID_SYNOPSYS, 0xedda) },
        { }
 };
 MODULE_DEVICE_TABLE(pci, pci_endpoint_test_tbl);