diff options
| author | Uwe Kleine-König <[email protected]> | 2019-10-17 19:22:18 +0000 |
|---|---|---|
| committer | Thierry Reding <[email protected]> | 2019-11-08 17:38:06 +0000 |
| commit | 24906a41eecb73d51974ade0847c21e429beec60 (patch) | |
| tree | df8762d9dfebd5c45e00bbf3d272a0052e70bccf /lib/test_xarray.c | |
| parent | Revert "pwm: Let pwm_get_state() return the last implemented state" (diff) | |
| download | kernel-24906a41eecb73d51974ade0847c21e429beec60.tar.gz kernel-24906a41eecb73d51974ade0847c21e429beec60.zip | |
pwm: bcm-iproc: Prevent unloading the driver module while in use
The owner member of struct pwm_ops must be set to THIS_MODULE to
increase the reference count of the module such that the module cannot
be removed while its code is in use.
Fixes: daa5abc41c80 ("pwm: Add support for Broadcom iProc PWM controller")
Signed-off-by: Uwe Kleine-König <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'lib/test_xarray.c')
0 files changed, 0 insertions, 0 deletions
