PCI: altera-msi: Allow building as module
authorLey Foon Tan <ley.foon.tan@intel.com>
Wed, 24 Apr 2019 04:57:15 +0000 (12:57 +0800)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 30 May 2019 14:34:54 +0000 (15:34 +0100)
commitc7ddfd3514f2702a70e9ff86504cafa856dd16b2
tree29c44e3c33e571e59b4006bde2ab805701af48e0
parentec15c4d0d5d2e431169fbdf6c6bcf0c8ff71ef22
PCI: altera-msi: Allow building as module

Altera MSI IP is a soft IP and is only available after
an FPGA image (with design containing it) is programmed.

Make driver modulable to support use case FPGA image is programmed the
after 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-msi.c