From 7153fd763bc31d7cd3ed3e34f32db0e99799c9ba Mon Sep 17 00:00:00 2001 From: Fei Yang Date: Mon, 18 Jul 2011 14:33:27 -0700 Subject: [PATCH] Remove ARM dependencies in alarm Change-Id: I316548e98f0281e98f2153e0616e2ad2d4d4545f --- drivers/rtc/alarm-dev.c | 4 +++- drivers/rtc/alarm.c | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/rtc/alarm-dev.c b/drivers/rtc/alarm-dev.c index 877a42a..16224b7 100644 --- a/drivers/rtc/alarm-dev.c +++ b/drivers/rtc/alarm-dev.c @@ -13,7 +13,9 @@ * */ -/*#include */ +#ifndef CONFIG_X86 +#include +#endif #include #include #include diff --git a/drivers/rtc/alarm.c b/drivers/rtc/alarm.c index 234b13c..5576e90 100644 --- a/drivers/rtc/alarm.c +++ b/drivers/rtc/alarm.c @@ -13,7 +13,9 @@ * */ -/*#include */ +#ifndef CONFIG_X86 +#include +#endif #include #include #include -- 2.7.4