summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/pwm.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/pwm.h')
-rw-r--r--kernel/include/linux/pwm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/include/linux/pwm.h b/kernel/include/linux/pwm.h
index cfc3ed46c..aa8736d5b 100644
--- a/kernel/include/linux/pwm.h
+++ b/kernel/include/linux/pwm.h
@@ -331,6 +331,7 @@ static inline void pwm_remove_table(struct pwm_lookup *table, size_t num)
#ifdef CONFIG_PWM_SYSFS
void pwmchip_sysfs_export(struct pwm_chip *chip);
void pwmchip_sysfs_unexport(struct pwm_chip *chip);
+void pwmchip_sysfs_unexport_children(struct pwm_chip *chip);
#else
static inline void pwmchip_sysfs_export(struct pwm_chip *chip)
{
@@ -339,6 +340,10 @@ static inline void pwmchip_sysfs_export(struct pwm_chip *chip)
static inline void pwmchip_sysfs_unexport(struct pwm_chip *chip)
{
}
+
+static inline void pwmchip_sysfs_unexport_children(struct pwm_chip *chip)
+{
+}
#endif /* CONFIG_PWM_SYSFS */
#endif /* __LINUX_PWM_H */