Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29717
b: refs/heads/master
c: 3b364b8
h: refs/heads/master
i:
  29715: 0201695
v: v3
  • Loading branch information
Andreas Mohr authored and Linus Torvalds committed Jun 25, 2006
1 parent fef1089 commit 1e9b2b1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 43b0bc00fdbf2f1503a57f0c2c1338438c5d2805
refs/heads/master: 3b364b8d584b94777f8446a943b3c65e75e758f8
2 changes: 1 addition & 1 deletion trunk/kernel/power/disk.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions trunk/kernel/power/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ static void suspend_finish(suspend_state_t state)



static char *pm_states[PM_SUSPEND_MAX] = {
static const char * const pm_states[PM_SUSPEND_MAX] = {
[PM_SUSPEND_STANDBY] = "standby",
[PM_SUSPEND_MEM] = "mem",
#ifdef CONFIG_SOFTWARE_SUSPEND
Expand Down Expand Up @@ -262,7 +262,7 @@ static ssize_t state_show(struct subsystem * subsys, char * buf)
static ssize_t state_store(struct subsystem * subsys, const char * buf, size_t n)
{
suspend_state_t state = PM_SUSPEND_STANDBY;
char ** s;
const char * const *s;
char *p;
int error;
int len;
Expand Down

0 comments on commit 1e9b2b1

Please sign in to comment.