Skip to content

Commit

Permalink
software: fix definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
sergachev committed Apr 13, 2020
1 parent 586ef78 commit 5804b43
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions litepcie/software/kernel/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -592,10 +592,10 @@ static void litepcie_pci_remove(struct pci_dev *dev)
};

static const struct pci_device_id litepcie_pci_ids[] = {
{ PCI_DEVICE(PCIE_FPGA_VENDOR_ID, PCIE_FPGA_DEVICE_ID_X1 ), },
{ PCI_DEVICE(PCIE_FPGA_VENDOR_ID, PCIE_FPGA_DEVICE_ID_X2 ), },
{ PCI_DEVICE(PCIE_FPGA_VENDOR_ID, PCIE_FPGA_DEVICE_ID_X4 ), },
{ PCI_DEVICE(PCIE_FPGA_VENDOR_ID, PCIE_FPGA_DEVICE_ID_X8 ), },
{ PCI_DEVICE(PCI_FPGA_VENDOR_ID, PCI_FPGA_DEVICE_ID_X1 ), },
{ PCI_DEVICE(PCI_FPGA_VENDOR_ID, PCI_FPGA_DEVICE_ID_X2 ), },
{ PCI_DEVICE(PCI_FPGA_VENDOR_ID, PCI_FPGA_DEVICE_ID_X4 ), },
{ PCI_DEVICE(PCI_FPGA_VENDOR_ID, PCI_FPGA_DEVICE_ID_X8 ), },
{ 0, }
};
MODULE_DEVICE_TABLE(pci, litepcie_pci_ids);
Expand Down

0 comments on commit 5804b43

Please sign in to comment.