--- pmac.c.orig	2004-09-26 21:47:14.000000000 +0200
+++ pmac.c	2004-09-26 21:47:23.000000000 +0200
@@ -1,3 +1,4 @@
+#include "pmac.inc"
 /*
  * PMac DBDMA lowlevel functions
  *
@@ -36,6 +37,17 @@
 #include <asm/feature.h>
 #endif
 
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,3,0)
+#define pmu_suspend()	/**/
+#define pmu_resume()	/**/
+#endif
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,18)
+#define request_OF_resource(io,num,str)  1
+#define release_OF_resource(io,num) /**/
+#endif
+
+
 
 #if defined(CONFIG_PM) && defined(CONFIG_PMAC_PBOOK)
 static int snd_pmac_register_sleep_notifier(pmac_t *chip);
