Skip to contentSkip to conversation

ARM: S5P: high resolution timer depends on PWM timer device

PATCH New Vladimir Zapolskiy 1 participant 1 message Apr 11, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: S5P: high resolution timer depends on PWM timer device

Some Samsung S5P platforms have support for high resolution timer, and this change fixes compilation problems for boards, which have forced hr-timer, but PWM timer is not selected.

Fixes:
arch/arm/plat-s5p/built-in.o: In function `s5p_set_timer_source':
.../linux/arch/arm/plat-s5p/s5p-time.c:235:
undefined reference to `s3c_device_timer'

---
 arch/arm/plat-s5p/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/plat-s5p/Kconfig +1 -0
index 554427d..a91970a 100644
@@ -39,6 +39,7 @@ config S5P_GPIO_INT
 
 config S5P_HRT
 	bool
+	select SAMSUNG_DEV_PWM
 	help
 	  Use the High Resolution timer support
 
Signature · 1 line
1.7.2.3