PCI: Add Altera vendor ID
authorJohannes Thumshirn <jthumshirn@suse.de>
Mon, 12 Mar 2018 09:41:18 +0000 (10:41 +0100)
committerBjorn Helgaas <helgaas@kernel.org>
Mon, 19 Mar 2018 19:18:22 +0000 (14:18 -0500)
Add the Altera PCI Vendor id to pci_ids.h and remove the private
definitions from xillybus_pcie.c and altera-cvp.c.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Eli Billauer <eli.billauer@gmail.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Anatolij Gustschin <agust@denx.de>
drivers/char/xillybus/xillybus_pcie.c
drivers/fpga/altera-cvp.c
include/linux/pci_ids.h

index dff2d153816471a6eef60b02dc4d1aa136314d7d..05e5324f60bd951f8182b0ce77213df6e6a1151d 100644 (file)
@@ -24,7 +24,6 @@ MODULE_LICENSE("GPL v2");
 
 #define PCI_DEVICE_ID_XILLYBUS         0xebeb
 
-#define PCI_VENDOR_ID_ALTERA           0x1172
 #define PCI_VENDOR_ID_ACTEL            0x11aa
 #define PCI_VENDOR_ID_LATTICE          0x1204
 
index 00e73d28077cee3732b61973222422f152ebb033..77b04e4b32544a3fd7359537c1e0acbe3ccf0f84 100644 (file)
@@ -384,8 +384,6 @@ static int altera_cvp_probe(struct pci_dev *pdev,
                            const struct pci_device_id *dev_id);
 static void altera_cvp_remove(struct pci_dev *pdev);
 
-#define PCI_VENDOR_ID_ALTERA   0x1172
-
 static struct pci_device_id altera_cvp_id_tbl[] = {
        { PCI_VDEVICE(ALTERA, PCI_ANY_ID) },
        { }
index a6b30667a33147ed6f6cc9c648e013cfc3126189..6a96a70fb4626f173e5884042e88f7a07aeed26d 100644 (file)
 #define PCI_DEVICE_ID_SERVERWORKS_CSB6LPC 0x0227
 #define PCI_DEVICE_ID_SERVERWORKS_HT1100LD 0x0408
 
+#define PCI_VENDOR_ID_ALTERA           0x1172
+
 #define PCI_VENDOR_ID_SBE              0x1176
 #define PCI_DEVICE_ID_SBE_WANXL100     0x0301
 #define PCI_DEVICE_ID_SBE_WANXL200     0x0302