]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfd26c724e45d7718fd2cc9d1e7fc1c3fbdc2cfaa
tree79f8c75ef9cac0446cd595a5482fe9d56cdbe9c8
parent6fc598a91f5ae2efe921dc783d02c59948715770
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