]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Fix menelaus.c compile for GCC 4.1.0:
authorDirk Behme <dirk.behme@googlemail.com>
Wed, 22 Mar 2006 14:50:49 +0000 (06:50 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 22 Mar 2006 14:50:49 +0000 (06:50 -0800)
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: Tony Lindgren <tony@atomide.com>
drivers/i2c/chips/menelaus.c

index 3fc037483c06afe1519295a25e8ae5311df34872..c3a750e56c430c330d4b0c586dda5823a1d2c47d 100644 (file)
@@ -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 */