[2/2] soc: qcom: smem: Fix compile-testing on dependent drivers
Commit Message
Fix following unmet dependencies seen when compile-testing
Venus driver:
WARNING: unmet direct dependencies detected for QCOM_SMEM
Depends on [n]: (ARCH_QCOM || COMPILE_TEST [=y]) && HWSPINLOCK [=n]
Selected by [m]:
- VIDEO_QCOM_VENUS [=m] && MEDIA_SUPPORT [=m] &&
MEDIA_PLATFORM_SUPPORT [=y] && MEDIA_PLATFORM_DRIVERS [=y] &&
V4L_PLATFORM_DRIVERS [=y] && V4L_MEM2MEM_DRIVERS [=y] &&
VIDEO_DEV [=m] && (ARCH_QCOM && IOMMU_DMA [=y] || COMPILE_TEST [=y])
by select HWSPINLOCK instead of depend on it.
Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
---
drivers/soc/qcom/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -139,7 +139,7 @@ config QCOM_RPMPD
config QCOM_SMEM
tristate "Qualcomm Shared Memory Manager (SMEM)"
depends on ARCH_QCOM || COMPILE_TEST
- depends on HWSPINLOCK
+ select HWSPINLOCK
help
Say y here to enable support for the Qualcomm Shared Memory Manager.
The driver provides an interface to items in a heap shared among all