mirror of
https://github.com/a52xq-dev/kernel.git
synced 2026-10-18 21:58:11 +07:00
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>
This commit is contained in:
parent
77d8443449
commit
7aac482e62
1 changed files with 15 additions and 11 deletions
|
|
@ -23,6 +23,8 @@
|
|||
struct platform_device;
|
||||
struct device_node;
|
||||
|
||||
extern spinlock_t samsung_pwm_lock;
|
||||
|
||||
struct samsung_pwm_variant {
|
||||
u8 bits;
|
||||
u8 div_base;
|
||||
|
|
|
|||
Loading…
Reference in a new issue