diff options
author | Jean Delvare <khali@linux-fr.org> | 2008-01-27 12:14:47 -0500 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2008-01-27 12:14:47 -0500 |
commit | 2cdddeb8d7dd42dc1847b110228a626d25a1e468 (patch) | |
tree | b349ef86c00f4fd732266dfe6dea2fd8b74a1c52 /sound/soc | |
parent | 922539a0a3c44e3b8dcf1025910f08e1940ba49f (diff) |
i2c: normal_i2c can be made const (remaining drivers)
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/cs4270.c | 2 | ||||
-rw-r--r-- | sound/soc/s3c24xx/neo1973_wm8753.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/cs4270.c b/sound/soc/codecs/cs4270.c index abac62866da8..dab22cc97ead 100644 --- a/sound/soc/codecs/cs4270.c +++ b/sound/soc/codecs/cs4270.c | |||
@@ -234,7 +234,7 @@ static int cs4270_set_dai_fmt(struct snd_soc_codec_dai *codec_dai, | |||
234 | * lower three bits are determined via the AD2, AD1, and AD0 pins | 234 | * lower three bits are determined via the AD2, AD1, and AD0 pins |
235 | * (respectively). | 235 | * (respectively). |
236 | */ | 236 | */ |
237 | static unsigned short normal_i2c[] = { | 237 | static const unsigned short normal_i2c[] = { |
238 | 0x48, 0x49, 0x4A, 0x4B, 0x4C, 0x4D, 0x4E, 0x4F, I2C_CLIENT_END | 238 | 0x48, 0x49, 0x4A, 0x4B, 0x4C, 0x4D, 0x4E, 0x4F, I2C_CLIENT_END |
239 | }; | 239 | }; |
240 | I2C_CLIENT_INSMOD; | 240 | I2C_CLIENT_INSMOD; |
diff --git a/sound/soc/s3c24xx/neo1973_wm8753.c b/sound/soc/s3c24xx/neo1973_wm8753.c index d5a8fc2cf8d6..f1f6b9478af9 100644 --- a/sound/soc/s3c24xx/neo1973_wm8753.c +++ b/sound/soc/s3c24xx/neo1973_wm8753.c | |||
@@ -573,7 +573,7 @@ static struct snd_soc_device neo1973_snd_devdata = { | |||
573 | 573 | ||
574 | static struct i2c_client client_template; | 574 | static struct i2c_client client_template; |
575 | 575 | ||
576 | static unsigned short normal_i2c[] = { 0x7C, I2C_CLIENT_END }; | 576 | static const unsigned short normal_i2c[] = { 0x7C, I2C_CLIENT_END }; |
577 | 577 | ||
578 | /* Magic definition of all other variables and things */ | 578 | /* Magic definition of all other variables and things */ |
579 | I2C_CLIENT_INSMOD; | 579 | I2C_CLIENT_INSMOD; |