diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/oss/waveartist.c | 2 | ||||
-rw-r--r-- | sound/ppc/keywest.c | 3 | ||||
-rw-r--r-- | sound/soc/codecs/cs4270.c | 2 | ||||
-rw-r--r-- | sound/soc/s3c24xx/neo1973_wm8753.c | 2 |
4 files changed, 3 insertions, 6 deletions
diff --git a/sound/oss/waveartist.c b/sound/oss/waveartist.c index b48c72923a13..88490418f932 100644 --- a/sound/oss/waveartist.c +++ b/sound/oss/waveartist.c | |||
@@ -835,7 +835,7 @@ static struct audio_driver waveartist_audio_driver = { | |||
835 | static irqreturn_t | 835 | static irqreturn_t |
836 | waveartist_intr(int irq, void *dev_id) | 836 | waveartist_intr(int irq, void *dev_id) |
837 | { | 837 | { |
838 | wavnc_info *devc = (wavnc_info *)dev_id; | 838 | wavnc_info *devc = dev_id; |
839 | int irqstatus, status; | 839 | int irqstatus, status; |
840 | 840 | ||
841 | spin_lock(&waveartist_lock); | 841 | spin_lock(&waveartist_lock); |
diff --git a/sound/ppc/keywest.c b/sound/ppc/keywest.c index 272ae38e9b18..bb7d744faff5 100644 --- a/sound/ppc/keywest.c +++ b/sound/ppc/keywest.c | |||
@@ -34,8 +34,6 @@ | |||
34 | static struct pmac_keywest *keywest_ctx; | 34 | static struct pmac_keywest *keywest_ctx; |
35 | 35 | ||
36 | 36 | ||
37 | #define I2C_DRIVERID_KEYWEST 0xFEBA | ||
38 | |||
39 | static int keywest_attach_adapter(struct i2c_adapter *adapter); | 37 | static int keywest_attach_adapter(struct i2c_adapter *adapter); |
40 | static int keywest_detach_client(struct i2c_client *client); | 38 | static int keywest_detach_client(struct i2c_client *client); |
41 | 39 | ||
@@ -43,7 +41,6 @@ struct i2c_driver keywest_driver = { | |||
43 | .driver = { | 41 | .driver = { |
44 | .name = "PMac Keywest Audio", | 42 | .name = "PMac Keywest Audio", |
45 | }, | 43 | }, |
46 | .id = I2C_DRIVERID_KEYWEST, | ||
47 | .attach_adapter = &keywest_attach_adapter, | 44 | .attach_adapter = &keywest_attach_adapter, |
48 | .detach_client = &keywest_detach_client, | 45 | .detach_client = &keywest_detach_client, |
49 | }; | 46 | }; |
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; |