PM / hibernate: Declare variables as static
Fixing sparse warnings: 'symbol not declared. Should it be static?' Signed-off-by: Pushkar Jambhlekar <pushkar.iit@gmail.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
967b08c25a
commit
0bae5fd333
|
@ -1422,7 +1422,7 @@ static unsigned int nr_meta_pages;
|
|||
* Numbers of normal and highmem page frames allocated for hibernation image
|
||||
* before suspending devices.
|
||||
*/
|
||||
unsigned int alloc_normal, alloc_highmem;
|
||||
static unsigned int alloc_normal, alloc_highmem;
|
||||
/*
|
||||
* Memory bitmap used for marking saveable pages (during hibernation) or
|
||||
* hibernation image pages (during restore)
|
||||
|
|
Loading…
Reference in New Issue