diff mbox

[04/11] android-alarm: Fix time.h include to avoid compile issue

Message ID 1327981772-12329-5-git-send-email-john.stultz@linaro.org
State Superseded
Headers show

Commit Message

John Stultz Jan. 31, 2012, 3:49 a.m. UTC
The file asm/mach/time.h doesn't exist on all arches,
so include <linux/time.h>

CC: Arve Hjønnevåg <arve@android.com>
CC: Greg KH <gregkh@suse.de>
CC: Android Kernel Team <kernel-team@android.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
---
 drivers/staging/android/alarm-dev.c |    2 +-
 drivers/staging/android/alarm.c     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/drivers/staging/android/alarm-dev.c b/drivers/staging/android/alarm-dev.c
index 7391f40..96a2cce 100644
--- a/drivers/staging/android/alarm-dev.c
+++ b/drivers/staging/android/alarm-dev.c
@@ -13,7 +13,7 @@ 
  *
  */
 
-#include <asm/mach/time.h>
+#include <linux/time.h>
 #include <linux/module.h>
 #include <linux/device.h>
 #include <linux/miscdevice.h>
diff --git a/drivers/staging/android/alarm.c b/drivers/staging/android/alarm.c
index c16032b..54bcae2 100644
--- a/drivers/staging/android/alarm.c
+++ b/drivers/staging/android/alarm.c
@@ -13,7 +13,7 @@ 
  *
  */
 
-#include <asm/mach/time.h>
+#include <linux/time.h>
 #include <linux/module.h>
 #include <linux/device.h>
 #include <linux/miscdevice.h>