]> asedeno.scripts.mit.edu Git - linux.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)
commitec15c4d0d5d2e431169fbdf6c6bcf0c8ff71ef22
treebd01cf8a894bb339051716fd86ab5c14ff783be2
parenta188339ca5a396acc588e5851ed7e19f66b0ebd9
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