summaryrefslogtreecommitdiff
path: root/kernel/power
diff options
context:
space:
mode:
authorPushkar Jambhlekar <pushkar.iit@gmail.com>2017-05-11 08:01:24 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-05-14 14:33:24 +0300
commit0bae5fd3330be0517fba697e6b228601d421fade (patch)
tree7bffbd028c8b205d50d6e6f2041f72697febd3ff /kernel/power
parent967b08c25a091867b04261fa34addedc950256f1 (diff)
downloadlinux-0bae5fd3330be0517fba697e6b228601d421fade.tar.xz
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>
Diffstat (limited to 'kernel/power')
-rw-r--r--kernel/power/snapshot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/snapshot.c b/kernel/power/snapshot.c
index d79a38de425a..a628cccafa4a 100644
--- a/kernel/power/snapshot.c
+++ b/kernel/power/snapshot.c
@@ -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)