Re: [PATCH] Yet more i2c driver changes for 2.5.65

Greg KH
2003-03-23T08:04:10Z

ChangeSet 1.889.354.15, 2003/03/22 23:26:58-08:00, greg@kroah.com

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.

diff -Nru a/drivers/acorn/char/i2c.c b/drivers/acorn/char/i2c.c
--- a/drivers/acorn/char/i2c.c Sun Mar 23 00:10:55 2003
+++ b/drivers/acorn/char/i2c.c Sun Mar 23 00:10:55 2003
@@ -303,11 +303,13 @@
}

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)