Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8a1ece26 authored by Chunyan Zhang's avatar Chunyan Zhang Committed by Daniel Lezcano
Browse files

clocksource/drivers/sprd: Fix Kconfig dependency



SPRD arch doesn't select SPRD_TIMER, so this config would not
appear even if ARCH_SPRD is set but COMPILE_TEST not.

Fix the dependency of this config with SPRD arch, and set a
default value for it, also leave other choices for EXPERT.

Signed-off-by: default avatarChunyan Zhang <chunyan.zhang@spreadtrum.com>
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent db6f9e55
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -450,8 +450,10 @@ config MTK_TIMER
	  Support for Mediatek timer driver.

config SPRD_TIMER
	bool "Spreadtrum timer driver" if COMPILE_TEST
	bool "Spreadtrum timer driver" if EXPERT
	depends on HAS_IOMEM
	depends on (ARCH_SPRD || COMPILE_TEST)
	default ARCH_SPRD
	select TIMER_OF
	help
	  Enables support for the Spreadtrum timer driver.