projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdca3f0
)
[PATCH] I2C: fix up ds1374.c driver so it will build.
author
Greg KH
<gregkh@suse.de>
Thu, 9 Jun 2005 15:39:09 +0000
(17:39 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 22 Jun 2005 04:52:06 +0000
(21:52 -0700)
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/chips/ds1374.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/i2c/chips/ds1374.c
b/drivers/i2c/chips/ds1374.c
index 1278d979db2b6421f4f755f86df3add39251572d..8d20b81dce0532567bc37038648557c61a36447a 100644
(file)
--- 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,
};