[PATCH] constify parts of kernel/power/
Signed-off-by: Andreas Mohr <andi@lisas.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
43b0bc00fd
commit
3b364b8d58
@@ -231,7 +231,7 @@ static int software_resume(void)
|
||||
late_initcall(software_resume);
|
||||
|
||||
|
||||
static char * pm_disk_modes[] = {
|
||||
static const char * const pm_disk_modes[] = {
|
||||
[PM_DISK_FIRMWARE] = "firmware",
|
||||
[PM_DISK_PLATFORM] = "platform",
|
||||
[PM_DISK_SHUTDOWN] = "shutdown",
|
||||
|
Reference in New Issue
Block a user