summaryrefslogtreecommitdiffstats
path: root/drivers/misc/cxl
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2015-06-16 16:45:44 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2015-06-19 17:10:30 +1000
commite0fcdc201037c2bd356424520d199492e92d0289 (patch)
treef1dbb9198b29e6624723254c83451ffbd4855866 /drivers/misc/cxl
parent5c89a87d13d168eacb8110810544a98ce0f4319d (diff)
downloadlinux-e0fcdc201037c2bd356424520d199492e92d0289.tar.gz
linux-e0fcdc201037c2bd356424520d199492e92d0289.tar.bz2
linux-e0fcdc201037c2bd356424520d199492e92d0289.zip
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: Michael Neuling <mikey@neuling.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/misc/cxl')
-rw-r--r--drivers/misc/cxl/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/misc/cxl/Kconfig b/drivers/misc/cxl/Kconfig
index a990b39b4dfb..b6db9ebd52c2 100644
--- a/drivers/misc/cxl/Kconfig
+++ b/drivers/misc/cxl/Kconfig
@@ -7,10 +7,15 @@ config CXL_BASE
default n
select PPC_COPRO_BASE
+config CXL_KERNEL_API
+ bool
+ default n
+
config CXL
tristate "Support for IBM Coherent Accelerators (CXL)"
depends on PPC_POWERNV && PCI_MSI
select CXL_BASE
+ select CXL_KERNEL_API
default m
help
Select this option to enable driver support for IBM Coherent