提交 e0fcdc20 编写于 作者: M Michael Neuling 提交者: Michael Ellerman

cxl: Add CXL_KERNEL_API config option

Add CXL_KERNEL_API config option so drivers which depend on this new
functionality won't be enabled until this is visible.

This is useful for merging the cxlflash driver which comes in via the SCSI
tree.  The cxlflash driver can depend on CXL_KERNEL_API, hence it won't be
enabled in the SCSI tree until this new config option is merged via the powerpc
tree.  Hence all trees will be bisectable at all times.
Signed-off-by: NMichael Neuling <mikey@neuling.org>
Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
上级 5c89a87d
...@@ -7,10 +7,15 @@ config CXL_BASE ...@@ -7,10 +7,15 @@ config CXL_BASE
default n default n
select PPC_COPRO_BASE select PPC_COPRO_BASE
config CXL_KERNEL_API
bool
default n
config CXL config CXL
tristate "Support for IBM Coherent Accelerators (CXL)" tristate "Support for IBM Coherent Accelerators (CXL)"
depends on PPC_POWERNV && PCI_MSI depends on PPC_POWERNV && PCI_MSI
select CXL_BASE select CXL_BASE
select CXL_KERNEL_API
default m default m
help help
Select this option to enable driver support for IBM Coherent Select this option to enable driver support for IBM Coherent
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册