[PATCH] I2C: fix ds1374 build

From: Greg KH
Date: Wed Jun 22 2005 - 00:58:15 EST


[PATCH] I2C: fix ds1374 build

Not all architectures implement asm/rtc.h

Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>

---
commit 0087e5ef577d0d6e664be7ab4be513b6a482e7ec
tree deeb3f4a6aca34359e20d926bc28165f1f3e84f0
parent 7c7a530463ced6011789937b24dc2bfba43c706b
author Andrew Morton <akpm@xxxxxxxx> Mon, 20 Jun 2005 14:25:45 -0700
committer Greg Kroah-Hartman <gregkh@xxxxxxx> Tue, 21 Jun 2005 21:55:00 -0700

drivers/i2c/chips/ds1374.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/i2c/chips/ds1374.c b/drivers/i2c/chips/ds1374.c
--- a/drivers/i2c/chips/ds1374.c
+++ b/drivers/i2c/chips/ds1374.c
@@ -27,8 +27,6 @@
#include <linux/rtc.h>
#include <linux/bcd.h>

-#include <asm/rtc.h>
-
#define DS1374_REG_TOD0 0x00
#define DS1374_REG_TOD1 0x01
#define DS1374_REG_TOD2 0x02

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/