Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a9f7baf4 authored by Russell King's avatar Russell King Committed by Russell King
Browse files

[ARM] Fix pcf8583 to build



Seems that the Acorn RTC driver missed an update.  Fix it.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 840ff6a4
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -23,12 +23,13 @@ static struct i2c_driver pcf8583_driver;


static unsigned short ignore[] = { I2C_CLIENT_END };
static unsigned short ignore[] = { I2C_CLIENT_END };
static unsigned short normal_addr[] = { 0x50, 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 = {
static struct i2c_client_address_data addr_data = {
	.normal_i2c		= normal_addr,
	.normal_i2c		= normal_addr,
	.probe			= ignore,
	.probe			= ignore,
	.ignore			= ignore,
	.ignore			= ignore,
	.force			= ignore,
	.forces			= forces,
};
};


#define DAT(x) ((unsigned int)(x->dev.driver_data))
#define DAT(x) ((unsigned int)(x->dev.driver_data))