mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
PCI: layerscape: Allow to compile as module
The layerscape pcie host controller could also be compiled as module. Add the necessary infrastructure to allow building as module instead of only as builtin driver. Since the driver doesn't expose an irqchip controller, it is also safe to be removed during runtime. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> [mani: added a note about driver removability] Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> Acked-by: Roy Zang <Roy.Zang@nxp.com> Link: https://patch.msgid.link/20260112-v6-19-topic-layerscape-pcie-v1-1-1cd863fce50e@pengutronix.de
This commit is contained in:
committed by
Manivannan Sadhasivam
parent
6de23f81a5
commit
e36262c5e6
@@ -121,7 +121,7 @@ config PCI_IMX6_EP
|
||||
DesignWare core functions to implement the driver.
|
||||
|
||||
config PCI_LAYERSCAPE
|
||||
bool "Freescale Layerscape PCIe controller (host mode)"
|
||||
tristate "Freescale Layerscape PCIe controller (host mode)"
|
||||
depends on OF && (ARM || ARCH_LAYERSCAPE || COMPILE_TEST)
|
||||
depends on PCI_MSI
|
||||
select PCIE_DW_HOST
|
||||
|
||||
Reference in New Issue
Block a user