Commit 7b4af953 authored by Arnaud Patard (Rtp)'s avatar Arnaud Patard (Rtp) Committed by Wim Van Sebroeck

[WATCHDOG] s3c2410_wdt.c-state_warning.patch

I've noticed that the patch from Ben Dooks (commit
af4bb822 on your git tree) is
introducing a warning. It's using 'u32 state' instead of 'pm_message_t
state'. I've attached a one liner to fix it.
Signed-Off-By: default avatarArnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent 87fc767b
...@@ -464,7 +464,7 @@ static void s3c2410wdt_shutdown(struct device *dev) ...@@ -464,7 +464,7 @@ static void s3c2410wdt_shutdown(struct device *dev)
static unsigned long wtcon_save; static unsigned long wtcon_save;
static unsigned long wtdat_save; static unsigned long wtdat_save;
static int s3c2410wdt_suspend(struct device *dev, u32 state, u32 level) static int s3c2410wdt_suspend(struct device *dev, pm_message_t state, u32 level)
{ {
if (level == SUSPEND_POWER_DOWN) { if (level == SUSPEND_POWER_DOWN) {
/* Save watchdog state, and turn it off. */ /* Save watchdog state, and turn it off. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment