Browse Source

[PATCH] I2C: fix up ds1374.c driver so it will build.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Greg KH 20 years ago
parent
commit
a45cfe2cd7
1 changed files with 0 additions and 4 deletions
  1. 0 4
      drivers/i2c/chips/ds1374.c

+ 0 - 4
drivers/i2c/chips/ds1374.c

@@ -27,7 +27,6 @@
 #include <linux/rtc.h>
 #include <linux/rtc.h>
 #include <linux/bcd.h>
 #include <linux/bcd.h>
 
 
-#include <asm/time.h>
 #include <asm/rtc.h>
 #include <asm/rtc.h>
 
 
 #define DS1374_REG_TOD0		0x00
 #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 = {
 static struct i2c_client_address_data addr_data = {
 	.normal_i2c = normal_addr,
 	.normal_i2c = normal_addr,
-	.normal_i2c_range = ignore,
 	.probe = ignore,
 	.probe = ignore,
-	.probe_range = ignore,
 	.ignore = ignore,
 	.ignore = ignore,
-	.ignore_range = ignore,
 	.force = ignore,
 	.force = ignore,
 };
 };