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

Greg KH (greg@kroah.com)
Sun, 23 Mar 2003 00:14:45 -0800


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)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/