Skip to content

Commit

Permalink
[ARM] Fix pcf8583 to build
Browse files Browse the repository at this point in the history
Seems that the Acorn RTC driver missed an update.  Fix it.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King authored and Russell King committed Sep 20, 2005
1 parent 840ff6a commit a9f7baf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/acorn/char/pcf8583.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit a9f7baf

Please sign in to comment.