Commit 51c0cddf authored by Dirk Behme's avatar Dirk Behme Committed by Tony Lindgren

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 <dirk.behme_at_gmail.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent d1500f9c
...@@ -154,7 +154,7 @@ static int tlv320aic23_attach_adapter(struct i2c_adapter *adapter) ...@@ -154,7 +154,7 @@ static int tlv320aic23_attach_adapter(struct i2c_adapter *adapter)
} }
static struct i2c_driver tlv320aic23_driver = { static struct i2c_driver tlv320aic23_driver = {
.driver { .driver = {
.name = "OMAP+TLV320AIC23 codec", .name = "OMAP+TLV320AIC23 codec",
/*.flags = I2C_DF_NOTIFY,*/ /*.flags = I2C_DF_NOTIFY,*/
}, },
...@@ -594,7 +594,7 @@ static int audio_i2c_resume(struct platform_device *dev) ...@@ -594,7 +594,7 @@ static int audio_i2c_resume(struct platform_device *dev)
} }
static struct platform_driver audio_i2c_driver = { static struct platform_driver audio_i2c_driver = {
.driver { .driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.name = "audio-i2c", .name = "audio-i2c",
}, },
......
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