]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: altera: Allow building as module
authorLey Foon Tan <ley.foon.tan@intel.com>
Wed, 24 Apr 2019 04:57:14 +0000 (12:57 +0800)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 30 May 2019 14:28:01 +0000 (15:28 +0100)
commit998041e30493688f81ba19b9dbda6e5386aa4b65
treebd01cf8a894bb339051716fd86ab5c14ff783be2
parentb48e0d7fe5b5eb1732dfe0b8057a6c721c42f2d4
PCI: altera: Allow building as module

Altera PCIe Rootport IP is a soft IP and is only available after
an FPGA image (whose design contains it) is programmed.

Make driver modulable to support use cases when FPGA image is
programmed after the kernel has booted, so that the driver
can be loaded upon request.

Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
drivers/pci/controller/Kconfig
drivers/pci/controller/pcie-altera.c