Pull pwm fix from Thierry Reding: "One more fix to keep a reference to the driver's module as long as there are users of the PWM exposed by the driver" * tag 'pwm/for-5.4-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm: pwm: bcm-iproc: Prevent unloading the driver module while in use
Unified · Split
| @@ -187,6 +187,7 @@ static int iproc_pwmc_apply(struct pwm_chip *chip, struct pwm_device *pwm, · 186 unmodified lines | ||
| 187 | 187 | static const struct pwm_ops iproc_pwm_ops = { |
| 188 | 188 | .apply = iproc_pwmc_apply, |
| 189 | 189 | .get_state = iproc_pwmc_get_state, |
| 190 | + .owner = THIS_MODULE, | |
| 190 | 191 | }; |
| 191 | 192 | |
| 192 | 193 | static int iproc_pwmc_probe(struct platform_device *pdev) |