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