[POWERPC] arch/powerpc/sysdev/timer.c build fix
authorSrinivasa Ds <srinivasa@in.ibm.com>
Thu, 26 Apr 2007 07:07:04 +0000 (00:07 -0700)
committerPaul Mackerras <paulus@samba.org>
Mon, 30 Apr 2007 01:02:05 +0000 (11:02 +1000)
arch/powerpc/sysdev/timer.c:51: error: variable `timer_sysclass' has
initializer but incomplete type
arch/powerpc/sysdev/timer.c:52: error: unknown field `resume' specified in initializer
<etc>

Signed-off-by: Srinivasa Ds <srinivasa@in.ibm.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/sysdev/timer.c

index bdbf8fe520e429d559656e2828dae18397b8e74c..4a01748b4217aa4272b81e8fa0e9528cdf727340 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <linux/time.h>
+#include <linux/sysdev.h>
 #include <asm/rtc.h>
 
 static unsigned long suspend_rtc_time;