]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] ARM: OMAP: OMAP RTC pm_message_t conversion
authorTodd Poynor <tpoynor@mvista.com>
Tue, 11 Oct 2005 15:27:56 +0000 (18:27 +0300)
committerTony Lindgren <tony@atomide.com>
Tue, 11 Oct 2005 15:27:56 +0000 (18:27 +0300)
pm_message_t conversion for OMAP RTC suspend; compile warning fix.

Signed-off-by: Todd Poynor <tpoynor@mvista.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/char/omap-rtc.c

index 36eedffd3b94b09b18aa685f55e4c4c5abdece85..943fc1f99c845e954e194be0b48c4195cfece4cd 100644 (file)
@@ -709,7 +709,7 @@ static void set_rtc_irq_bit(unsigned char bit)
 #ifdef CONFIG_PM
 static struct timespec rtc_delta;
 
-static int rtc_suspend(struct device *dev, u32 state, u32 level)
+static int rtc_suspend(struct device *dev, pm_message_t message, u32 level)
 {
        struct rtc_time rtc_tm;
        struct timespec time;