@@ -9,7 +9,7 @@ menuconfig HWSPINLOCK
99config HWSPINLOCK_OMAP
1010 tristate "OMAP Hardware Spinlock device"
1111 depends on HWSPINLOCK
12- depends on ARCH_OMAP4 || SOC_OMAP5 || SOC_DRA7XX || SOC_AM33XX || SOC_AM43XX || ARCH_K3
12+ depends on ARCH_OMAP4 || SOC_OMAP5 || SOC_DRA7XX || SOC_AM33XX || SOC_AM43XX || ARCH_K3 || COMPILE_TEST
1313 help
1414 Say y here to support the OMAP Hardware Spinlock device (firstly
1515 introduced in OMAP4).
@@ -19,7 +19,7 @@ config HWSPINLOCK_OMAP
1919config HWSPINLOCK_QCOM
2020 tristate "Qualcomm Hardware Spinlock device"
2121 depends on HWSPINLOCK
22- depends on ARCH_QCOM
22+ depends on ARCH_QCOM || COMPILE_TEST
2323 select MFD_SYSCON
2424 help
2525 Say y here to support the Qualcomm Hardware Mutex functionality, which
@@ -31,7 +31,7 @@ config HWSPINLOCK_QCOM
3131config HWSPINLOCK_SIRF
3232 tristate "SIRF Hardware Spinlock device"
3333 depends on HWSPINLOCK
34- depends on ARCH_SIRF
34+ depends on ARCH_SIRF || COMPILE_TEST
3535 help
3636 Say y here to support the SIRF Hardware Spinlock device, which
3737 provides a synchronisation mechanism for the various processors
@@ -42,7 +42,7 @@ config HWSPINLOCK_SIRF
4242
4343config HWSPINLOCK_SPRD
4444 tristate "SPRD Hardware Spinlock device"
45- depends on ARCH_SPRD
45+ depends on ARCH_SPRD || COMPILE_TEST
4646 depends on HWSPINLOCK
4747 help
4848 Say y here to support the SPRD Hardware Spinlock device.
@@ -51,7 +51,7 @@ config HWSPINLOCK_SPRD
5151
5252config HWSPINLOCK_STM32
5353 tristate "STM32 Hardware Spinlock device"
54- depends on MACH_STM32MP157
54+ depends on MACH_STM32MP157 || COMPILE_TEST
5555 depends on HWSPINLOCK
5656 help
5757 Say y here to support the STM32 Hardware Spinlock device.
@@ -61,7 +61,7 @@ config HWSPINLOCK_STM32
6161config HSEM_U8500
6262 tristate "STE Hardware Semaphore functionality"
6363 depends on HWSPINLOCK
64- depends on ARCH_U8500
64+ depends on ARCH_U8500 || COMPILE_TEST
6565 help
6666 Say y here to support the STE Hardware Semaphore functionality, which
6767 provides a synchronisation mechanism for the various processor on the
0 commit comments