Greg KH
2005-06-22T05:37:48Z

[PATCH] I2C: fix ds1374 build

Not all architectures implement asm/rtc.h

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

---
commit 0087e5ef577d0d6e664be7ab4be513b6a482e7ec
tree deeb3f4a6aca34359e20d926bc28165f1f3e84f0
parent 7c7a530463ced6011789937b24dc2bfba43c706b
author Andrew Morton <akpm@osdl.org> Mon, 20 Jun 2005 14:25:45 -0700
committer Greg Kroah-Hartman <gregkh@suse.de> 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