]> git.hungrycats.org Git - linux/commitdiff
i2c: fix up drivers/acorn/char/i2c.c due to previous i2c changes
authorGreg Kroah-Hartman <greg@kroah.com>
Sat, 22 Mar 2003 15:26:58 +0000 (07:26 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Sat, 22 Mar 2003 15:26:58 +0000 (07:26 -0800)
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

index ca2316b791fe603b46b113bcd14a2813484b05fc..dc946403ac3351c0c40ab8301966bb589447a874 100644 (file)
@@ -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)