aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acorn/char/pcf8583.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acorn/char/pcf8583.c')
-rw-r--r--drivers/acorn/char/pcf8583.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/acorn/char/pcf8583.c b/drivers/acorn/char/pcf8583.c
index e26f007a1417..9b49f316ae92 100644
--- a/drivers/acorn/char/pcf8583.c
+++ b/drivers/acorn/char/pcf8583.c
@@ -257,9 +257,10 @@ pcf8583_command(struct i2c_client *client, unsigned int cmd, void *arg)
257} 257}
258 258
259static struct i2c_driver pcf8583_driver = { 259static struct i2c_driver pcf8583_driver = {
260 .name = "PCF8583", 260 .driver = {
261 .name = "PCF8583",
262 },
261 .id = I2C_DRIVERID_PCF8583, 263 .id = I2C_DRIVERID_PCF8583,
262 .flags = I2C_DF_NOTIFY,
263 .attach_adapter = pcf8583_probe, 264 .attach_adapter = pcf8583_probe,
264 .detach_client = pcf8583_detach, 265 .detach_client = pcf8583_detach,
265 .command = pcf8583_command 266 .command = pcf8583_command