diff options
author | Janusz Krzysztofik <jkrzyszt@tis.icnet.pl> | 2009-10-20 22:40:55 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-10-21 14:08:21 -0400 |
commit | 02624621a58d7030e0e56f1e3df490202e59056c (patch) | |
tree | 4616d60a4ea52656b20f6975f43533fd8f648825 /sound/soc/omap/ams-delta.c | |
parent | 9927f327717400a3372ff8931859509986b8ad37 (diff) |
ASoC: Amstrad Delta minor cleanups
Hi Mark,
Here is a patch that corrects small omissions I have found in my code.
Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/omap/ams-delta.c')
-rw-r--r-- | sound/soc/omap/ams-delta.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/omap/ams-delta.c b/sound/soc/omap/ams-delta.c index 5a5166ac727..ae0fc9b135d 100644 --- a/sound/soc/omap/ams-delta.c +++ b/sound/soc/omap/ams-delta.c | |||
@@ -40,7 +40,7 @@ | |||
40 | 40 | ||
41 | 41 | ||
42 | /* Board specific DAPM widgets */ | 42 | /* Board specific DAPM widgets */ |
43 | const struct snd_soc_dapm_widget ams_delta_dapm_widgets[] = { | 43 | static const struct snd_soc_dapm_widget ams_delta_dapm_widgets[] = { |
44 | /* Handset */ | 44 | /* Handset */ |
45 | SND_SOC_DAPM_MIC("Mouthpiece", NULL), | 45 | SND_SOC_DAPM_MIC("Mouthpiece", NULL), |
46 | SND_SOC_DAPM_HP("Earpiece", NULL), | 46 | SND_SOC_DAPM_HP("Earpiece", NULL), |
@@ -81,7 +81,7 @@ static const char *ams_delta_audio_mode[] = | |||
81 | (1 << AMS_DELTA_SPEAKER)) | 81 | (1 << AMS_DELTA_SPEAKER)) |
82 | #define AMS_DELTA_SPEAKERPHONE (AMS_DELTA_HANDSFREE | (1 << AMS_DELTA_AGC)) | 82 | #define AMS_DELTA_SPEAKERPHONE (AMS_DELTA_HANDSFREE | (1 << AMS_DELTA_AGC)) |
83 | 83 | ||
84 | unsigned short ams_delta_audio_mode_pins[] = { | 84 | static const unsigned short ams_delta_audio_mode_pins[] = { |
85 | AMS_DELTA_MIXED, | 85 | AMS_DELTA_MIXED, |
86 | AMS_DELTA_HANDSET, | 86 | AMS_DELTA_HANDSET, |
87 | AMS_DELTA_HANDSFREE, | 87 | AMS_DELTA_HANDSFREE, |