clocksource: samsung_pwm_timer: Make PWM spinlock global
authorTomasz Figa <t.figa@samsung.com>
Tue, 23 Apr 2013 15:46:24 +0000 (17:46 +0200)
committerOlof Johansson <olof@lixom.net>
Sun, 28 Apr 2013 19:16:46 +0000 (12:16 -0700)
commit7aac482e6290ab7ad21809e0c7327be959a2203e
tree79f8c75ef9cac0446cd595a5482fe9d56cdbe9c8
parent77d844344952934baf2902cf6f1ac870dc1b4d7a
clocksource: samsung_pwm_timer: Make PWM spinlock global

This patch makes the PWM spinlock global and exports it to allow using
it in Samsung PWM driver (will be reworked to use proper synchronization
in further patches).

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/samsung_pwm_timer.c
include/clocksource/samsung_pwm.h