diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-12-07 05:04:10 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-07 11:13:18 -0500 |
commit | c1496b4ac3c6a1664592351b3530489cd8eff959 (patch) | |
tree | a672132c76dd3156d2842d756a22ed75debddb83 /sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c | |
parent | b960ce74a70477d7d7d3c08669a8f0f52017b4fa (diff) |
ASoC: Fix a typo in s3c24xx_simtec_tlv320aic23 driver
Fix a typo introduced by commit e00c3f55
"ASoC: Convert Samsung directory to module_platform_driver".
This fixes the build error:
CC sound/soc/samsung/s3c24xx_simtec_tlv320aic23.o
sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c: In function 'simtec_audio_tlv320aic32_driver_init':
sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c:105: error: 'simtec_audio_tlv320aic32_driver' undeclared (first use in this function)
sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c:105: error: (Each undeclared identifier is reported only once
sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c:105: error: for each function it appears in.)
sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c: In function 'simtec_audio_tlv320aic32_driver_exit':
sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c:105: error: 'simtec_audio_tlv320aic32_driver' undeclared (first use in this function)
make[3]: *** [sound/soc/samsung/s3c24xx_simtec_tlv320aic23.o] Error 1
make[2]: *** [sound/soc/samsung] Error 2
make[1]: *** [sound/soc] Error 2
make: *** [sound] Error 2
I think we had better naming it with *driver, thus I change
it to simtec_audio_tlv320aic23_driver.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c')
-rw-r--r-- | sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c b/sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c index 7324609833d8..89b57b5c3e17 100644 --- a/sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c +++ b/sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c | |||
@@ -92,7 +92,7 @@ static int __devinit simtec_audio_tlv320aic23_probe(struct platform_device *pd) | |||
92 | return simtec_audio_core_probe(pd, &snd_soc_machine_simtec_aic23); | 92 | return simtec_audio_core_probe(pd, &snd_soc_machine_simtec_aic23); |
93 | } | 93 | } |
94 | 94 | ||
95 | static struct platform_driver simtec_audio_tlv320aic23_platdrv = { | 95 | static struct platform_driver simtec_audio_tlv320aic23_driver = { |
96 | .driver = { | 96 | .driver = { |
97 | .owner = THIS_MODULE, | 97 | .owner = THIS_MODULE, |
98 | .name = "s3c24xx-simtec-tlv320aic23", | 98 | .name = "s3c24xx-simtec-tlv320aic23", |
@@ -102,7 +102,7 @@ static struct platform_driver simtec_audio_tlv320aic23_platdrv = { | |||
102 | .remove = __devexit_p(simtec_audio_remove), | 102 | .remove = __devexit_p(simtec_audio_remove), |
103 | }; | 103 | }; |
104 | 104 | ||
105 | module_platform_driver(simtec_audio_tlv320aic32_driver); | 105 | module_platform_driver(simtec_audio_tlv320aic23_driver); |
106 | 106 | ||
107 | MODULE_ALIAS("platform:s3c24xx-simtec-tlv320aic23"); | 107 | MODULE_ALIAS("platform:s3c24xx-simtec-tlv320aic23"); |
108 | MODULE_AUTHOR("Ben Dooks <ben@simtec.co.uk>"); | 108 | MODULE_AUTHOR("Ben Dooks <ben@simtec.co.uk>"); |