Fix implicit declarations in via-pmu

2006-12-28 Thread Dave Jones
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 <[EMAIL PROTECTED]>

--- linux-2.6.19.noarch/drivers/macintosh/via-pmu.c~2006-12-12 
11:18:03.0 -0500
+++ linux-2.6.19.noarch/drivers/macintosh/via-pmu.c 2006-12-12 
11:18:33.0 -0500
@@ -44,6 +44,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 



-- 
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Fix implicit declarations in via-pmu

2006-12-28 Thread Dave Jones
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 [EMAIL PROTECTED]

--- linux-2.6.19.noarch/drivers/macintosh/via-pmu.c~2006-12-12 
11:18:03.0 -0500
+++ linux-2.6.19.noarch/drivers/macintosh/via-pmu.c 2006-12-12 
11:18:33.0 -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



-- 
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/