From 601f8f6022ff3910191e8551ef1b9ccb312faeb8 Mon Sep 17 00:00:00 2001 From: Todd Poynor Date: Tue, 11 Oct 2005 18:27:56 +0300 Subject: [PATCH] [PATCH] ARM: OMAP: OMAP RTC pm_message_t conversion pm_message_t conversion for OMAP RTC suspend; compile warning fix. Signed-off-by: Todd Poynor Signed-off-by: Tony Lindgren --- drivers/char/omap-rtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/omap-rtc.c b/drivers/char/omap-rtc.c index 36eedffd3b9..943fc1f99c8 100644 --- a/drivers/char/omap-rtc.c +++ b/drivers/char/omap-rtc.c @@ -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; -- 2.41.1