firmware loader: fix compile warning with PM_SLEEP set
authorMing Lei <ming.lei@canonical.com>
Thu, 20 Jun 2013 04:30:16 +0000 (12:30 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Jun 2013 21:09:47 +0000 (14:09 -0700)
commit90f8908127b55aa22f5a995880d5ac8cd23fbe1e
tree1e12ffbbaec974df974314e4034be0f681fc7dbd
parent7068cb07563d8f001e83a2836ccf1cef6518aea4
firmware loader: fix compile warning with PM_SLEEP set

This patch fixes the below compile warning:

drivers/base/firmware_class.c:1254:12: warning: 'cache_firmware' defined
but not used [-Wunused-function]
 static int cache_firmware(const char *fw_name)
            ^
drivers/base/firmware_class.c:1281:12: warning: 'uncache_firmware'
defined but not used [-Wunused-function]
 static int uncache_firmware(const char *fw_name)
            ^

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/firmware_class.c