diff options
author | Ming Lei <ming.lei@canonical.com> | 2012-09-08 05:32:30 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-10 19:40:30 -0400 |
commit | cfe016b14e1ee106e906ddfe77d598a2b288d7d6 (patch) | |
tree | bd5de67d97a66269066df9509cea691e99a34605 /drivers/firmware/efivars.c | |
parent | ef4158c5634e3819f93499d598ca617c29307ffd (diff) |
firmware loader: fix compile warning when CONFIG_PM=n
This patch replaces the previous macro of CONFIG_PM with
CONFIG_PM_SLEEP becasue firmware cache is only used in
system sleep situations.
Also this patch fixes the below compile warning when
CONFIG_PM=n:
drivers/base/firmware_class.c:1147: warning: 'device_cache_fw_images'
defined but not used
drivers/base/firmware_class.c:1212: warning:
'device_uncache_fw_images_delay' defined but not used
Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/firmware/efivars.c')
0 files changed, 0 insertions, 0 deletions