|
@@ -158,7 +158,7 @@ static int rtc8564_attach(struct i2c_adapter *adap, int addr, int kind)
|
|
|
|
|
|
strlcpy(new_client->name, "RTC8564", I2C_NAME_SIZE);
|
|
strlcpy(new_client->name, "RTC8564", I2C_NAME_SIZE);
|
|
i2c_set_clientdata(new_client, d);
|
|
i2c_set_clientdata(new_client, d);
|
|
- new_client->flags = I2C_CLIENT_ALLOW_USE | I2C_DF_NOTIFY;
|
|
|
|
|
|
+ new_client->flags = I2C_CLIENT_ALLOW_USE;
|
|
new_client->addr = addr;
|
|
new_client->addr = addr;
|
|
new_client->adapter = adap;
|
|
new_client->adapter = adap;
|
|
new_client->driver = &rtc8564_driver;
|
|
new_client->driver = &rtc8564_driver;
|