[PATCH] I2C: fix up ds1374.c driver so it will build.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
bdca3f0aed
commit
a45cfe2cd7
|
@ -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,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue