]> git.karo-electronics.de Git - karo-tx-linux.git/commit
firmware loader: fix build failure with !CONFIG_FW_LOADER_USER_HELPER
authorMing Lei <ming.lei@canonical.com>
Tue, 4 Jun 2013 02:01:13 +0000 (10:01 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Jun 2013 17:24:40 +0000 (10:24 -0700)
commitddf1f0648e8cd6d2208b1d3bfabd6501f5a9407f
tree4af7376a3b1913efcc8157d2e66b4241a4d4ff5b
parent17c057a35f2672ba2e4d4f9bd7b5652ca0e11b92
firmware loader: fix build failure with !CONFIG_FW_LOADER_USER_HELPER

This patch fixes one build failure which is introduced by the patch
below:

driver core: firmware loader: kill FW_ACTION_NOHOTPLUG requests
before suspend

When CONFIG_FW_LOADER_USER_HELPER is unset, kill_requests_without_uevent()
should be nop because no userspace loading is involved.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/firmware_class.c