提交 0bae5fd3 编写于 作者: P Pushkar Jambhlekar 提交者: Rafael J. Wysocki

PM / hibernate: Declare variables as static

Fixing sparse warnings: 'symbol not declared. Should it be static?'
Signed-off-by: NPushkar Jambhlekar <pushkar.iit@gmail.com>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 967b08c2
...@@ -1422,7 +1422,7 @@ static unsigned int nr_meta_pages; ...@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册