clocksource: samsung_pwm_timer: Add support for non-DT platforms
authorTomasz Figa <t.figa@samsung.com>
Tue, 23 Apr 2013 15:46:27 +0000 (17:46 +0200)
committerOlof Johansson <olof@lixom.net>
Sun, 28 Apr 2013 19:16:54 +0000 (12:16 -0700)
commitf9bb48a2c25a96757d13795ba7cc52687f94446f
tree0667e8283b5007256701b3f8e95b2de6c9ebc159
parent09d718a78c79ddc270dccbfa1b1070b20b9a9ae1
clocksource: samsung_pwm_timer: Add support for non-DT platforms

This patch extends the driver to support platforms that still use legacy
ATAGS-based boot, without device tree, by providing an exported function
that can be used from platform code to initialize the clocksource.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
drivers/clocksource/Kconfig
drivers/clocksource/samsung_pwm_timer.c
include/clocksource/samsung_pwm.h