提交 a9f7baf4 编写于 作者: R Russell King 提交者: Russell King

[ARM] Fix pcf8583 to build

Seems that the Acorn RTC driver missed an update.  Fix it.
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 840ff6a4
......@@ -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,
.forces = forces,
};
#define DAT(x) ((unsigned int)(x->dev.driver_data))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册