OSDN Git Service

fix compiling errors on x86
authorChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 27 Oct 2010 07:51:41 +0000 (15:51 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Mon, 25 Jun 2012 13:03:06 +0000 (21:03 +0800)
drivers/rtc/alarm-dev.c
drivers/rtc/alarm.c

index 686e6f7..f069dd5 100644 (file)
@@ -13,7 +13,9 @@
  *
  */
 
+#ifndef __i386__
 #include <asm/mach/time.h>
+#endif
 #include <linux/android_alarm.h>
 #include <linux/device.h>
 #include <linux/miscdevice.h>
index 28b0df8..7adda70 100644 (file)
@@ -13,7 +13,9 @@
  *
  */
 
+#ifndef __i386__
 #include <asm/mach/time.h>
+#endif
 #include <linux/android_alarm.h>
 #include <linux/device.h>
 #include <linux/miscdevice.h>