|
@@ -641,6 +641,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)
|
|
|
{
|
|
@@ -649,6 +650,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 */
|