Commit ab370c66 authored by Dirk Behme's avatar Dirk Behme Committed by Tony Lindgren

ARM: OMAP: Fix menelaus.c compile for GCC 4.1.0:

drivers/i2c/chips/menelaus.c:453: error: expected '=' before
'{' token
drivers/i2c/chips/menelaus.c:456: error: expected '}' before
'.' token

Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent af573a5b
...@@ -450,7 +450,7 @@ static int menelaus_scan_bus(struct i2c_adapter *bus) ...@@ -450,7 +450,7 @@ static int menelaus_scan_bus(struct i2c_adapter *bus)
} }
static struct i2c_driver menelaus_i2c_driver = { static struct i2c_driver menelaus_i2c_driver = {
.driver { .driver = {
.name = DRIVER_NAME, .name = DRIVER_NAME,
}, },
.id = I2C_DRIVERID_MISC, /*FIXME:accroding to i2c-ids.h */ .id = I2C_DRIVERID_MISC, /*FIXME:accroding to i2c-ids.h */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment