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'

Signed-off-by: Vladimir Zapolskiy <[email protected]>
---
 arch/arm/plat-s5p/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/plat-s5p/Kconfig b/arch/arm/plat-s5p/Kconfig
index 554427d..a91970a 100644
--- a/arch/arm/plat-s5p/Kconfig
+++ b/arch/arm/plat-s5p/Kconfig
@@ -39,6 +39,7 @@ config S5P_GPIO_INT
 
 config S5P_HRT
        bool
+       select SAMSUNG_DEV_PWM
        help
          Use the High Resolution timer support
 
-- 
1.7.2.3

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to