summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGreg KH <gregkh@suse.de>2005-06-09 17:39:09 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2005-06-22 06:52:06 +0200
commita45cfe2cd7450e56b4f44802b34faaf2a78a6cdb (patch)
treeca6f26f57cb96ff6ab4b9f1830f3f29f1185166d /drivers
parent[PATCH] I2C: Add support for Maxim/Dallas DS1374 Real-Time Clock Chip (2/2) (diff)
downloadlinux-a45cfe2cd7450e56b4f44802b34faaf2a78a6cdb.tar.xz
linux-a45cfe2cd7450e56b4f44802b34faaf2a78a6cdb.zip
[PATCH] I2C: fix up ds1374.c driver so it will build.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/i2c/chips/ds1374.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/i2c/chips/ds1374.c b/drivers/i2c/chips/ds1374.c
index 1278d979db2b..8d20b81dce05 100644
--- a/drivers/i2c/chips/ds1374.c
+++ b/drivers/i2c/chips/ds1374.c
@@ -27,7 +27,6 @@
#include <linux/rtc.h>
#include <linux/bcd.h>
-#include <asm/time.h>
#include <asm/rtc.h>
#define DS1374_REG_TOD0 0x00
@@ -54,11 +53,8 @@ static unsigned short normal_addr[] = { 0x68, I2C_CLIENT_END };
static struct i2c_client_address_data addr_data = {
.normal_i2c = normal_addr,
- .normal_i2c_range = ignore,
.probe = ignore,
- .probe_range = ignore,
.ignore = ignore,
- .ignore_range = ignore,
.force = ignore,
};