From: Dirk Behme Date: Wed, 22 Mar 2006 15:23:07 +0000 (-0800) Subject: ARM: OMAP: Fix error from GCC 4.1.0 X-Git-Tag: v2.6.16-omap1~24 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=51c0cddf5027bd4e5c1903845047d7d7e266c79b;p=linux-2.6-omap-h63xx.git ARM: OMAP: Fix error from GCC 4.1.0 drivers/i2c/chips/tlv320aic23.c:157: error: expected '=' before '{' token drivers/i2c/chips/tlv320aic23.c:161: error: expected '}' before '.' token drivers/i2c/chips/tlv320aic23.c:597: error: expected '=' before '{' token drivers/i2c/chips/tlv320aic23.c:601: error: expected '}' before '.' token Signed-off-by: Dirk Behme Signed-off-by: Tony Lindgren --- diff --git a/drivers/i2c/chips/tlv320aic23.c b/drivers/i2c/chips/tlv320aic23.c index b62ea5318c9..7fdd1d3608b 100644 --- a/drivers/i2c/chips/tlv320aic23.c +++ b/drivers/i2c/chips/tlv320aic23.c @@ -154,7 +154,7 @@ static int tlv320aic23_attach_adapter(struct i2c_adapter *adapter) } static struct i2c_driver tlv320aic23_driver = { - .driver { + .driver = { .name = "OMAP+TLV320AIC23 codec", /*.flags = I2C_DF_NOTIFY,*/ }, @@ -594,7 +594,7 @@ static int audio_i2c_resume(struct platform_device *dev) } static struct platform_driver audio_i2c_driver = { - .driver { + .driver = { .owner = THIS_MODULE, .name = "audio-i2c", },