diff options
author | Hans de Goede <hdegoede@redhat.com> | 2017-01-22 17:14:08 +0100 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2017-01-30 09:36:42 +0100 |
commit | b526a314263ea217b8fa9758dca5dc245fd49997 (patch) | |
tree | 33bc36f29bee3acf277fded5b5d30513d16bfd53 /arch/frv/include/asm/syscall.h | |
parent | 69efb3439ccf2ce72e01edde05d2c63d624e251e (diff) | |
download | op-kernel-dev-b526a314263ea217b8fa9758dca5dc245fd49997.zip op-kernel-dev-b526a314263ea217b8fa9758dca5dc245fd49997.tar.gz |
pwm: Try to load modules during pwm_get()
Add a module name string to the pwm_lookup struct and if specified try
to load the module using request_module() if pwmchip_find_by_name() is
unable to find the PWM chip.
This is a last resort to work around drivers that can't - and can't be
made to - deal with deferred probe.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
[thierry.reding@gmail.com: rename new macro, reword commit message]
[thierry.reding@gmail.com: add comment explaining use-case]
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'arch/frv/include/asm/syscall.h')
0 files changed, 0 insertions, 0 deletions