From: Pushkar Jambhlekar Date: Thu, 11 May 2017 05:01:24 +0000 (+0530) Subject: PM / hibernate: Declare variables as static X-Git-Tag: v4.12-rc3~29^2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0bae5fd3330be0517fba697e6b228601d421fade;p=platform%2Fkernel%2Flinux-exynos.git PM / hibernate: Declare variables as static Fixing sparse warnings: 'symbol not declared. Should it be static?' Signed-off-by: Pushkar Jambhlekar Signed-off-by: Rafael J. Wysocki --- 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)