aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pwm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/pwm.h')
-rw-r--r--include/linux/pwm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/pwm.h b/include/linux/pwm.h
index f1bbae014889..2c6c5114c089 100644
--- a/include/linux/pwm.h
+++ b/include/linux/pwm.h
@@ -641,6 +641,7 @@ static inline void pwm_remove_table(struct pwm_lookup *table, size_t num)
641#ifdef CONFIG_PWM_SYSFS 641#ifdef CONFIG_PWM_SYSFS
642void pwmchip_sysfs_export(struct pwm_chip *chip); 642void pwmchip_sysfs_export(struct pwm_chip *chip);
643void pwmchip_sysfs_unexport(struct pwm_chip *chip); 643void pwmchip_sysfs_unexport(struct pwm_chip *chip);
644void pwmchip_sysfs_unexport_children(struct pwm_chip *chip);
644#else 645#else
645static inline void pwmchip_sysfs_export(struct pwm_chip *chip) 646static inline void pwmchip_sysfs_export(struct pwm_chip *chip)
646{ 647{
@@ -649,6 +650,10 @@ static inline void pwmchip_sysfs_export(struct pwm_chip *chip)
649static inline void pwmchip_sysfs_unexport(struct pwm_chip *chip) 650static inline void pwmchip_sysfs_unexport(struct pwm_chip *chip)
650{ 651{
651} 652}
653
654static inline void pwmchip_sysfs_unexport_children(struct pwm_chip *chip)
655{
656}
652#endif /* CONFIG_PWM_SYSFS */ 657#endif /* CONFIG_PWM_SYSFS */
653 658
654#endif /* __LINUX_PWM_H */ 659#endif /* __LINUX_PWM_H */