Skip to content

Commit

Permalink
cxl: Add CXL_KERNEL_API config option
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
  • Loading branch information
mikey authored and mpe committed Jun 19, 2015
1 parent 5c89a87 commit e0fcdc2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/misc/cxl/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e0fcdc2

Please sign in to comment.