Title: [8265] trunk/sound/soc/codecs/ad73311.c: ad73311: fix driver name init as pointed out by Rob Maris in the forums
Revision
8265
Author
vapier
Date
2010-02-01 23:39:36 -0500 (Mon, 01 Feb 2010)

Log Message

ad73311: fix driver name init as pointed out by Rob Maris in the forums

Modified Paths

Diff

Modified: trunk/sound/soc/codecs/ad73311.c (8264 => 8265)


--- trunk/sound/soc/codecs/ad73311.c	2010-02-01 06:07:50 UTC (rev 8264)
+++ trunk/sound/soc/codecs/ad73311.c	2010-02-02 04:39:36 UTC (rev 8265)
@@ -29,7 +29,7 @@
 #include "ad73311.h"
 
 struct snd_soc_dai ad73311_dai = {
-	.name = "DRV_NAME",
+	.name = DRV_NAME,
 	.playback = {
 		.stream_name = "Playback",
 		.channels_min = 1,
@@ -55,7 +55,7 @@
 	if (codec == NULL)
 		return -ENOMEM;
 	mutex_init(&codec->mutex);
-	codec->name = "DRV_NAME";
+	codec->name = DRV_NAME;
 	codec->dev = &pdev->dev;
 	codec->owner = THIS_MODULE;
 	codec->dai = &ad73311_dai;
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to