You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
pwm: Fill in missing .owner fields
Some drivers don't set the .owner fields of the struct device_driver or struct pwm_ops, which causes the module usage count to become wrong. Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
This commit is contained in:
@@ -259,6 +259,7 @@ MODULE_DEVICE_TABLE(of, spear_pwm_of_match);
|
||||
static struct platform_driver spear_pwm_driver = {
|
||||
.driver = {
|
||||
.name = "spear-pwm",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = spear_pwm_of_match,
|
||||
},
|
||||
.probe = spear_pwm_probe,
|
||||
|
||||
Reference in New Issue
Block a user