diff options
Diffstat (limited to 'include/linux/pwm.h')
-rw-r--r-- | include/linux/pwm.h | 5 |
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 |
642 | void pwmchip_sysfs_export(struct pwm_chip *chip); | 642 | void pwmchip_sysfs_export(struct pwm_chip *chip); |
643 | void pwmchip_sysfs_unexport(struct pwm_chip *chip); | 643 | void pwmchip_sysfs_unexport(struct pwm_chip *chip); |
644 | void pwmchip_sysfs_unexport_children(struct pwm_chip *chip); | ||
644 | #else | 645 | #else |
645 | static inline void pwmchip_sysfs_export(struct pwm_chip *chip) | 646 | static 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) | |||
649 | static inline void pwmchip_sysfs_unexport(struct pwm_chip *chip) | 650 | static inline void pwmchip_sysfs_unexport(struct pwm_chip *chip) |
650 | { | 651 | { |
651 | } | 652 | } |
653 | |||
654 | static 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 */ |