1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright 2013 Tomasz Figa <tomasz.figa@gmail.com>
4  *
5  * Samsung PWM controller platform data helpers.
6  */
7 
8 #ifndef __ASM_ARCH_PWM_CORE_H
9 #define __ASM_ARCH_PWM_CORE_H __FILE__
10 
11 #include <clocksource/samsung_pwm.h>
12 
13 #ifdef CONFIG_SAMSUNG_DEV_PWM
14 extern void samsung_pwm_set_platdata(struct samsung_pwm_variant *pd);
15 #else
samsung_pwm_set_platdata(struct samsung_pwm_variant * pd)16 static inline void samsung_pwm_set_platdata(struct samsung_pwm_variant *pd) { }
17 #endif
18 
19 #endif /* __ASM_ARCH_PWM_CORE_H */
20