Commit a45cfe2c authored by Greg KH's avatar Greg KH Committed by Greg Kroah-Hartman

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

Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent bdca3f0a
...@@ -27,7 +27,6 @@ ...@@ -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 }; ...@@ -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,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment