From: Dirk Behme Date: Wed, 22 Mar 2006 14:50:49 +0000 (-0800) Subject: ARM: OMAP: Fix menelaus.c compile for GCC 4.1.0: X-Git-Tag: v2.6.16-omap1~28 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ab370c6672ea83ecb2a69c247b547b154e321720;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Tony Lindgren --- diff --git a/drivers/i2c/chips/menelaus.c b/drivers/i2c/chips/menelaus.c index 3fc037483c0..c3a750e56c4 100644 --- a/drivers/i2c/chips/menelaus.c +++ b/drivers/i2c/chips/menelaus.c @@ -450,7 +450,7 @@ static int menelaus_scan_bus(struct i2c_adapter *bus) } static struct i2c_driver menelaus_i2c_driver = { - .driver { + .driver = { .name = DRIVER_NAME, }, .id = I2C_DRIVERID_MISC, /*FIXME:accroding to i2c-ids.h */