projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
840ff6a
)
[ARM] Fix pcf8583 to build
author
Russell King
<rmk@dyn-67.arm.linux.org.uk>
Tue, 20 Sep 2005 20:01:13 +0000
(21:01 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Tue, 20 Sep 2005 20:01:13 +0000
(21:01 +0100)
Seems that the Acorn RTC driver missed an update. Fix it.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/acorn/char/pcf8583.c
patch
|
blob
|
history
diff --git
a/drivers/acorn/char/pcf8583.c
b/drivers/acorn/char/pcf8583.c
index 141b4c237a509dc9dab28fb105644b6ec5529859..2b850e5860a04fda9f6c99919f30a66cba66f815 100644
(file)
--- a/
drivers/acorn/char/pcf8583.c
+++ b/
drivers/acorn/char/pcf8583.c
@@
-23,12
+23,13
@@
static struct i2c_driver pcf8583_driver;
static unsigned short ignore[] = { I2C_CLIENT_END };
static unsigned short normal_addr[] = { 0x50, I2C_CLIENT_END };
+static unsigned short *forces[] = { NULL };
static struct i2c_client_address_data addr_data = {
.normal_i2c = normal_addr,
.probe = ignore,
.ignore = ignore,
- .force
= ignore
,
+ .force
s = forces
,
};
#define DAT(x) ((unsigned int)(x->dev.driver_data))