[alsa-devel] [PATCH 1/3] ASoC: smdk_wm8994: Make driver name more unique

Mark Brown broonie at kernel.org
Sat Jul 27 13:53:23 CEST 2013


From: Mark Brown <broonie at linaro.org>

Avoid collisions with other SMDK audio by using the CODEC name.

Signed-off-by: Mark Brown <broonie at linaro.org>
---
 sound/soc/samsung/smdk_wm8994.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/samsung/smdk_wm8994.c b/sound/soc/samsung/smdk_wm8994.c
index 581ea4a..05c479c 100644
--- a/sound/soc/samsung/smdk_wm8994.c
+++ b/sound/soc/samsung/smdk_wm8994.c
@@ -200,7 +200,7 @@ MODULE_DEVICE_TABLE(of, samsung_wm8994_of_match);
 
 static struct platform_driver smdk_audio_driver = {
 	.driver		= {
-		.name	= "smdk-audio",
+		.name	= "smdk-audio-wm8894",
 		.owner	= THIS_MODULE,
 		.of_match_table = of_match_ptr(samsung_wm8994_of_match),
 	},
@@ -212,4 +212,4 @@ module_platform_driver(smdk_audio_driver);
 
 MODULE_DESCRIPTION("ALSA SoC SMDK WM8994");
 MODULE_LICENSE("GPL");
-MODULE_ALIAS("platform:smdk-audio");
+MODULE_ALIAS("platform:smdk-audio-wm8994");
-- 
1.8.3.2



More information about the Alsa-devel mailing list