diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2019-10-17 21:22:18 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2019-11-08 18:38:06 +0100 |
commit | 24906a41eecb73d51974ade0847c21e429beec60 (patch) | |
tree | df8762d9dfebd5c45e00bbf3d272a0052e70bccf /drivers/scsi/snic/vnic_cq.c | |
parent | 40a6b9a00930fd6b59aa2eb6135abc2efe5440c3 (diff) |
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 <u.kleine-koenig@pengutronix.de>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/scsi/snic/vnic_cq.c')
0 files changed, 0 insertions, 0 deletions