Message ID | 20221117110806.65470-2-andriy.shevchenko@linux.intel.com |
---|---|
State | Accepted |
Commit | 88da4e8113110d5f4ebdd2f8cd0899e300cd1954 |
Headers | show |
Series | [v5,1/7] pwm: Add a stub for devm_pwmchip_add() | expand |
diff --git a/include/linux/pwm.h b/include/linux/pwm.h index d70c6e5a839d..bba492eea96c 100644 --- a/include/linux/pwm.h +++ b/include/linux/pwm.h @@ -478,6 +478,11 @@ static inline int pwmchip_remove(struct pwm_chip *chip) return -EINVAL; } +static inline int devm_pwmchip_add(struct device *dev, struct pwm_chip *chip) +{ + return -EINVAL; +} + static inline struct pwm_device *pwm_request_from_chip(struct pwm_chip *chip, unsigned int index, const char *label)