]> nv-tegra.nvidia Code Review - linux-3.10.git/blobdiff - arch/x86_64/kernel/time.c
[PATCH] Fix u32 vs. pm_message_t in x86-64
[linux-3.10.git] / arch / x86_64 / kernel / time.c
index 943a9bfba2090d570ebbfabcc0099510ffa09679..0e3b60e1ac5b54f60d4a2a7cff4492c8ddef9774 100644 (file)
@@ -965,7 +965,7 @@ __setup("report_lost_ticks", time_setup);
 static long clock_cmos_diff;
 static unsigned long sleep_start;
 
-static int timer_suspend(struct sys_device *dev, u32 state)
+static int timer_suspend(struct sys_device *dev, pm_message_t state)
 {
        /*
         * Estimate time zone so that set_time can update the clock