summaryrefslogtreecommitdiffstats
path: root/kernel/power/power.h
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2020-07-10 21:12:10 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-07-14 19:25:41 +0200
commit02d7f4005e942f75c63302d54a659e673edd00df (patch)
tree6689f0f3833039d351a9b3dcbbda5170e0eb660a /kernel/power/power.h
parentPM: hibernate: fix white space in a few places (diff)
downloadlinux-02d7f4005e942f75c63302d54a659e673edd00df.tar.xz
linux-02d7f4005e942f75c63302d54a659e673edd00df.zip
PM: sleep: spread "const char *" correctness
Fixed string literals can be referred to as "const char *". Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> [ rjw: Minor subject edit ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/power/power.h')
-rw-r--r--kernel/power/power.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/power.h b/kernel/power/power.h
index ba2094db6294..32fc89ac96c3 100644
--- a/kernel/power/power.h
+++ b/kernel/power/power.h
@@ -32,7 +32,7 @@ static inline int init_header_complete(struct swsusp_info *info)
return arch_hibernation_header_save(info, MAX_ARCH_HEADER_SIZE);
}
-static inline char *check_image_kernel(struct swsusp_info *info)
+static inline const char *check_image_kernel(struct swsusp_info *info)
{
return arch_hibernation_header_restore(info) ?
"architecture specific data" : NULL;