diff options
author | Andreas Mohr <andi@rhlx01.fht-esslingen.de> | 2006-06-25 14:47:56 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 19:01:08 +0200 |
commit | 3b364b8d584b94777f8446a943b3c65e75e758f8 (patch) | |
tree | 423b5a0f5b8ea77deffa053443911b226fcb0ab1 /kernel/power/disk.c | |
parent | [PATCH] cpuset: remove extra cpuset_zone_allowed check in __alloc_pages (diff) | |
download | linux-3b364b8d584b94777f8446a943b3c65e75e758f8.tar.xz linux-3b364b8d584b94777f8446a943b3c65e75e758f8.zip |
[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>
Diffstat (limited to 'kernel/power/disk.c')
-rw-r--r-- | kernel/power/disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/disk.c b/kernel/power/disk.c index 81d4d982f3f0..e13e74067845 100644 --- a/kernel/power/disk.c +++ b/kernel/power/disk.c @@ -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", |