提交 a45cfe2c 编写于 作者: G Greg KH 提交者: Greg Kroah-Hartman

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

Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册