pwm-core.h 641 B

12345678910111213141516171819202122
  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. #ifndef __ASM_ARCH_PWM_CORE_H
  11. #define __ASM_ARCH_PWM_CORE_H __FILE__
  12. #include <clocksource/samsung_pwm.h>
  13. #ifdef CONFIG_SAMSUNG_DEV_PWM
  14. extern void samsung_pwm_set_platdata(struct samsung_pwm_variant *pd);
  15. #else
  16. static inline void samsung_pwm_set_platdata(struct samsung_pwm_variant *pd) { }
  17. #endif
  18. #endif /* __ASM_ARCH_PWM_CORE_H */