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 files changed, 3 insertions(+), 1 deletion(-)
diff -Nru a/drivers/acorn/char/i2c.c b/drivers/acorn/char/i2c.c
--- a/drivers/acorn/char/i2c.c Mon Mar 24 17:27:25 2003
+++ b/drivers/acorn/char/i2c.c Mon Mar 24 17:27:25 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/