ASoC: Tegra: Rename pdev tegra-snd-harmony to tegra-snd-wm8903
authorStephen Warren <swarren@nvidia.com>
Tue, 12 Apr 2011 17:29:00 +0000 (11:29 -0600)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 18 Apr 2011 16:54:09 +0000 (17:54 +0100)
Soon, this machine driver will be updated to handle a number of Tegra boards
using the WM8903 codec. Rename the platform device in advance to reflect this.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
arch/arm/mach-tegra/board-harmony.c
sound/soc/tegra/harmony.c

index 3c6bba25a1e44a59f796bf8fa8f8575e08f03eee..987c5e46d58173549b5139636b52069f3989bacc 100644 (file)
@@ -75,7 +75,7 @@ static struct tegra_wm8903_platform_data harmony_audio_pdata = {
 };
 
 static struct platform_device harmony_audio_device = {
-       .name   = "tegra-snd-harmony",
+       .name   = "tegra-snd-wm8903",
        .id     = 0,
        .dev    = {
                .platform_data  = &harmony_audio_pdata,
index c3096c3b9e2b6ec98072fbef52d93553105c8915..ae168f2446a619d6736a3f225df0fb7ac70912b1 100644 (file)
@@ -50,7 +50,7 @@
 #include "tegra_pcm.h"
 #include "tegra_asoc_utils.h"
 
-#define DRV_NAME "tegra-snd-harmony"
+#define DRV_NAME "tegra-snd-wm8903"
 
 #define GPIO_SPKR_EN    BIT(0)
 #define GPIO_INT_MIC_EN BIT(1)