diff options
| author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2019-10-17 21:22:18 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-05 09:19:47 +0100 |
| commit | 480233f89d42b33f099387c001692a448a105416 (patch) | |
| tree | e0b5b6cc54af21a6be32ea238c6e12efbe243659 /include/linux/timerqueue.h | |
| parent | 27d22db4ccf1a9e298651cc1d8a2578b721cc19d (diff) | |
pwm: bcm-iproc: Prevent unloading the driver module while in use
[ Upstream commit 24906a41eecb73d51974ade0847c21e429beec60 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
