From 2a79de0ed7f0732cbfc89d69aeb7627f800141ae Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Sat, 22 Mar 2003 07:26:58 -0800 Subject: i2c: fix up drivers/acorn/char/i2c.c due to previous i2c changes I'm not going to touch the other driver in this directory, as it will need more than just minor fixups to get correct. --- drivers/acorn/char/i2c.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/acorn/char/i2c.c b/drivers/acorn/char/i2c.c index ca2316b791fe..dc946403ac33 100644 --- a/drivers/acorn/char/i2c.c +++ b/drivers/acorn/char/i2c.c @@ -303,11 +303,13 @@ static int ioc_client_unreg(struct i2c_client *client) } static struct i2c_adapter ioc_ops = { - .name = "IOC/IOMD", .id = I2C_HW_B_IOC, .algo_data = &ioc_data, .client_register = ioc_client_reg, .client_unregister = ioc_client_unreg + .dev = { + .name = "IOC/IOMD", + }, }; static int __init i2c_ioc_init(void) -- cgit v1.2.3