diff options
author | Luis R. Rodriguez <mcgrof@kernel.org> | 2017-11-20 10:23:57 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-29 11:18:43 +0100 |
commit | 25d3913181b3e397549cb6584d7ab1a37709d104 (patch) | |
tree | 5912222a1d3464c744873a66f6642c8d7f4083ff /drivers/pnp | |
parent | 5711ae6d3054e13a95858da6df6d142bec90d832 (diff) | |
download | linux-25d3913181b3e397549cb6584d7ab1a37709d104.tar.gz linux-25d3913181b3e397549cb6584d7ab1a37709d104.tar.bz2 linux-25d3913181b3e397549cb6584d7ab1a37709d104.zip |
firmware: provide helper for FW_OPT_USERHELPER
The macro FW_OPT_USERHELPER is only currently defined when
CONFIG_FW_LOADER_USER_HELPER is set. This is handled via an
ifdef around CONFIG_FW_LOADER_USER_HELPER. This makes reading
and understanding use FW_OPT_USERHELPER a bit convoluted.
Instead wrap the functionality implemented behind
CONFIG_FW_LOADER_USER_HELPER as we typically do in the
kernel.
Now when CONFIG_FW_LOADER_USER_HELPER is *not set*, then
simply the helper fw_sysfs_fallback() will not do anything.
Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pnp')
0 files changed, 0 insertions, 0 deletions