]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
firmware loader: fix another compile warning with PM_SLEEP unset
authorMing Lei <ming.lei@canonical.com>
Wed, 26 Jun 2013 01:28:17 +0000 (09:28 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Jun 2013 04:04:22 +0000 (21:04 -0700)
commit6a2c123427ffece4174db0792c3009e7df770d9a
treeae04cf59437d44f6d8b72f810b0fd534735f99a7
parent4bb1667255a86360721291fe59991d033bbc2f2a
firmware loader: fix another compile warning with PM_SLEEP unset

This patch fixes another compiling warning with PM_SLEEP unset:

drivers/base/firmware_class.c:221:29: warning: 'fw_lookup_buf' defined
but not used [-Wunused-function]

This time I do build kernel with both PM_SLEEP set and unset, and no
warning found any more with the patch.

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