pwm-core.h 490 B

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