• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2013 Tomasz Figa <tomasz.figa@gmail.com>
3  *
4  * Samsung PWM controller platform data helpers.
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  */
10 
11 #ifndef __ASM_ARCH_PWM_CORE_H
12 #define __ASM_ARCH_PWM_CORE_H __FILE__
13 
14 #include <clocksource/samsung_pwm.h>
15 
16 #ifdef CONFIG_SAMSUNG_DEV_PWM
17 extern void samsung_pwm_set_platdata(struct samsung_pwm_variant *pd);
18 #else
samsung_pwm_set_platdata(struct samsung_pwm_variant * pd)19 static inline void samsung_pwm_set_platdata(struct samsung_pwm_variant *pd) { }
20 #endif
21 
22 #endif /* __ASM_ARCH_PWM_CORE_H */
23