]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/i2c/chips/menelaus.c
ARM: OMAP: Fix menelaus.c compile for GCC 4.1.0:
[linux-2.6-omap-h63xx.git] / drivers / i2c / chips / menelaus.c
index 48c3e3701f294f53894c360f772d46a3c9b9a18a..c3a750e56c430c330d4b0c586dda5823a1d2c47d 100644 (file)
@@ -450,11 +450,11 @@ static int menelaus_scan_bus(struct i2c_adapter *bus)
 }
 
 static struct i2c_driver menelaus_i2c_driver = {
-       .owner          = THIS_MODULE,
-       .name           = DRIVER_NAME,
-       .id             = I2C_DRIVERID_EXP0, /*FIXME:accroding to i2c-ids.h */
+       .driver = {
+               .name           = DRIVER_NAME,
+       },
+       .id             = I2C_DRIVERID_MISC, /*FIXME:accroding to i2c-ids.h */
        .class          = I2C_CLASS_HWMON,
-       .flags          = I2C_DF_NOTIFY,
        .attach_adapter = menelaus_scan_bus,
        .detach_client  = menelaus_remove,
 };