Skip to contentSkip to conversation

ASoC: Samsung: Debug PCM platform device name

PATCH Applied Jassi Brar 3 participants 3 messages Sep 10, 2010

Subsystems (2)
lore
Share & tools
lore

Jassi Brar

author
#0 lore raw

PATCH 3/3 ASoC: Samsung: Debug PCM platform device name

From: Jassi Brar <[email protected]>

The PCM controller platform devices are registered by the name 'samsung-pcm', so use the same in the CPU driver.

---
 sound/soc/s3c24xx/s3c-pcm.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
sound/soc/s3c24xx/s3c-pcm.c +2 -2
index d404f80..6e9139f 100644
@@ -525,7 +525,7 @@ static struct platform_driver s3c_pcm_driver = {
 	.probe  = s3c_pcm_dev_probe,
 	.remove = s3c_pcm_dev_remove,
 	.driver = {
-		.name = "samsung-pcm-audio",
+		.name = "samsung-pcm",
 		.owner = THIS_MODULE,
 	},
 };
@@ -546,4 +546,4 @@ module_exit(s3c_pcm_exit);
 MODULE_AUTHOR("Jaswinder Singh, <[email protected]>");
 MODULE_DESCRIPTION("S3C PCM Controller Driver");
 MODULE_LICENSE("GPL");
-MODULE_ALIAS("platform:samsung-pcm-audio");
+MODULE_ALIAS("platform:samsung-pcm");
Signature · 1 line
1.6.2.5
Acked-by on v1 3/3
#1 lore raw
Quoted 24 lines · Jassi Brar

From: Jassi Brar <[email protected]>

The PCM controller platform devices are registered by the name 'samsung-pcm', so use the same in the CPU driver.

---
 sound/soc/s3c24xx/s3c-pcm.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
sound/soc/s3c24xx/s3c-pcm.c +1 -1
index d404f80..6e9139f 100644
@@ -525,7 +525,7 @@ static struct platform_driver s3c_pcm_driver = {
 	.probe  = s3c_pcm_dev_probe,
 	.remove = s3c_pcm_dev_remove,
 	.driver = {
-		.name = "samsung-pcm-audio",
+		.name = "samsung-pcm",
 		.owner = THIS_MODULE,
 	},
 };

sound/soc/s3c24xx/s3c-pcm.c module_exit(s3c_pcm_exit); · line 549

Quoted 5 lines
sound/soc/s3c24xx/s3c-pcm.c +1 -1
@@ -546,4 +546,4 @@ module_exit(s3c_pcm_exit);
 MODULE_AUTHOR("Jaswinder Singh, <[email protected]>");
 MODULE_DESCRIPTION("S3C PCM Controller Driver");
 MODULE_LICENSE("GPL");
-MODULE_ALIAS("platform:samsung-pcm-audio");
+MODULE_ALIAS("platform:samsung-pcm");
Signature · 3 lines
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk