diff options
| author | Ming Lei <[email protected]> | 2012-09-08 09:32:30 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2012-09-10 23:40:30 +0000 |
| commit | cfe016b14e1ee106e906ddfe77d598a2b288d7d6 (patch) | |
| tree | bd5de67d97a66269066df9509cea691e99a34605 /lib/dynamic_debug.c | |
| parent | Document:add Chinese translation of basic_profiling.txt (diff) | |
| download | kernel-cfe016b14e1ee106e906ddfe77d598a2b288d7d6.tar.gz kernel-cfe016b14e1ee106e906ddfe77d598a2b288d7d6.zip | |
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 <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
