From: Ming Lei Date: Thu, 6 Jun 2013 11:52:54 +0000 (+0800) Subject: firmware loader: fix compile warning X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~74^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b7cb7a1289b77b942e0833c57d76287878315c2;p=pandora-kernel.git firmware loader: fix compile warning The commit ddf1f0648e8c("firmware loader: fix build failure with !CONFIG_FW_LOADER_USER_HELPER") introduces the below warning: drivers/base/firmware_class.c:921:13: warning: 'kill_requests_without_uevent' defined but not used [-Wunused-function] So fix it by defining kill_requests_without_uevent() only if CONFIG_PM_SLEEP is set. Reported-by: Stephen Rothwell Signed-off-by: Ming Lei Cc: Arnd Bergmann Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed