mirror of
https://github.com/fail0verflow/switch-linux.git
synced 2025-05-04 02:34:21 -04:00
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
1 changed files with 1 additions and 1 deletions
|
@ -1422,7 +1422,7 @@ static unsigned int nr_meta_pages;
|
||||||
* Numbers of normal and highmem page frames allocated for hibernation image
|
* Numbers of normal and highmem page frames allocated for hibernation image
|
||||||
* before suspending devices.
|
* 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
|
* Memory bitmap used for marking saveable pages (during hibernation) or
|
||||||
* hibernation image pages (during restore)
|
* hibernation image pages (during restore)
|
||||||
|
|
Loading…
Add table
Reference in a new issue