mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 14:43:16 +00:00
cxl: remove dead Kconfig options
Remove the CXL_KERNEL_API and CXL_EEH Kconfig options, as they were only needed to coordinate the merging of the cxlflash driver. Also remove the stub implementation of cxl_perst_reloads_same_image() in cxlflash which is only used if CXL_EEH isn't defined (i.e. never). Suggested-by: Ian Munsie <imunsie@au1.ibm.com> Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Acked-by: Ian Munsie <imunsie@au1.ibm.com> Acked-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
c2ca9f6b4c
commit
1e44727a0b
@ -7,14 +7,6 @@ config CXL_BASE
|
|||||||
default n
|
default n
|
||||||
select PPC_COPRO_BASE
|
select PPC_COPRO_BASE
|
||||||
|
|
||||||
config CXL_KERNEL_API
|
|
||||||
bool
|
|
||||||
default n
|
|
||||||
|
|
||||||
config CXL_EEH
|
|
||||||
bool
|
|
||||||
default n
|
|
||||||
|
|
||||||
config CXL_AFU_DRIVER_OPS
|
config CXL_AFU_DRIVER_OPS
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
@ -23,8 +15,6 @@ config CXL
|
|||||||
tristate "Support for IBM Coherent Accelerators (CXL)"
|
tristate "Support for IBM Coherent Accelerators (CXL)"
|
||||||
depends on PPC_POWERNV && PCI_MSI && EEH
|
depends on PPC_POWERNV && PCI_MSI && EEH
|
||||||
select CXL_BASE
|
select CXL_BASE
|
||||||
select CXL_KERNEL_API
|
|
||||||
select CXL_EEH
|
|
||||||
select CXL_AFU_DRIVER_OPS
|
select CXL_AFU_DRIVER_OPS
|
||||||
default m
|
default m
|
||||||
help
|
help
|
||||||
|
@ -100,8 +100,4 @@ struct asyc_intr_info {
|
|||||||
#define SCAN_HOST 0x04
|
#define SCAN_HOST 0x04
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifndef CONFIG_CXL_EEH
|
|
||||||
#define cxl_perst_reloads_same_image(_a, _b) do { } while (0)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* _CXLFLASH_MAIN_H */
|
#endif /* _CXLFLASH_MAIN_H */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user