[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>
This commit is contained in:
parent
7c7a530463
commit
0087e5ef57
|
@ -27,8 +27,6 @@
|
||||||
#include <linux/rtc.h>
|
#include <linux/rtc.h>
|
||||||
#include <linux/bcd.h>
|
#include <linux/bcd.h>
|
||||||
|
|
||||||
#include <asm/rtc.h>
|
|
||||||
|
|
||||||
#define DS1374_REG_TOD0 0x00
|
#define DS1374_REG_TOD0 0x00
|
||||||
#define DS1374_REG_TOD1 0x01
|
#define DS1374_REG_TOD1 0x01
|
||||||
#define DS1374_REG_TOD2 0x02
|
#define DS1374_REG_TOD2 0x02
|
||||||
|
|
Loading…
Reference in New Issue