summaryrefslogtreecommitdiff
path: root/include/clocksource/samsung_pwm.h
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2013-04-23 17:46:27 +0200
committerOlof Johansson <olof@lixom.net>2013-04-28 12:16:54 -0700
commitf9bb48a2c25a96757d13795ba7cc52687f94446f (patch)
tree0667e8283b5007256701b3f8e95b2de6c9ebc159 /include/clocksource/samsung_pwm.h
parent09d718a78c79ddc270dccbfa1b1070b20b9a9ae1 (diff)
downloadlinux-next-f9bb48a2c25a96757d13795ba7cc52687f94446f.tar.gz
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>
Diffstat (limited to 'include/clocksource/samsung_pwm.h')
-rw-r--r--include/clocksource/samsung_pwm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/clocksource/samsung_pwm.h b/include/clocksource/samsung_pwm.h
index b1d8fe706f1a..5c449c8199e9 100644
--- a/include/clocksource/samsung_pwm.h
+++ b/include/clocksource/samsung_pwm.h
@@ -30,4 +30,7 @@ struct samsung_pwm_variant {
bool has_tint_cstat;
};
+void samsung_pwm_clocksource_init(void __iomem *base,
+ unsigned int *irqs, struct samsung_pwm_variant *variant);
+
#endif /* __CLOCKSOURCE_SAMSUNG_PWM_H */