ASoC: Fix a typo in s3c24xx_simtec_tlv320aic23 driver
Subsystems (3)
PATCH 1/1 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.osound/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.
--- sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c +2 -2
@@ -92,7 +92,7 @@ static int __devinit simtec_audio_tlv320aic23_probe(struct platform_device *pd)return simtec_audio_core_probe (pd, &snd_soc_machine_simtec_aic23); } -static struct platform_driver simtec_audio_tlv320aic23_platdrv = { +static struct platform_driver simtec_audio_tlv320aic23_driver = { .driver = { .owner =THIS_MODULE , .name ="s3c24xx-simtec-tlv320aic23" ,
@@ -102,7 +102,7 @@ static struct platform_driver simtec_audio_tlv320aic23_platdrv = { .remove = __devexit_p(simtec_audio_remove), }; -module_platform_driver (simtec_audio_tlv320aic32_driver); +module_platform_driver (simtec_audio_tlv320aic23_driver);MODULE_ALIAS ("platform:s3c24xx-simtec-tlv320aic23" );MODULE_AUTHOR ("Ben Dooks <[email protected]>" );
Signature · 1 line
1.7.5.4
Mark Brown
AppliedQuoted 2 lines · Axel Lin
Fix a typo introduced by commit
e00c3f55
"ASoC: Convert Samsung directory tomodule_platform_driver".
Applied, thanks.