Fix implicit declarations in via-pmu

From: Dave Jones
Date: Fri Dec 29 2006 - 01:30:16 EST

drivers/macintosh/via-pmu.c: In function 'pmac_suspend_devices':
drivers/macintosh/via-pmu.c:2014: error: implicit declaration of function 'pm_prepare_console'
drivers/macintosh/via-pmu.c: In function 'pmac_wakeup_devices':
drivers/macintosh/via-pmu.c:2139: error: implicit declaration of function 'pm_restore_console'

Signed-off-by: Dave Jones <davej@xxxxxxxxxx>

--- linux-2.6.19.noarch/drivers/macintosh/via-pmu.c~ 2006-12-12 11:18:03.000000000 -0500
+++ linux-2.6.19.noarch/drivers/macintosh/via-pmu.c 2006-12-12 11:18:33.000000000 -0500
@@ -44,6 +44,7 @@
#include <linux/sysdev.h>
#include <linux/freezer.h>
#include <linux/syscalls.h>
+#include <linux/suspend.h>
#include <linux/cpu.h>
#include <asm/prom.h>
#include <asm/machdep.h>

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at