From ef280d3907cea21b6093802398bbe4193e221a64 Mon Sep 17 00:00:00 2001 From: Stephen Warren Date: Thu, 5 Apr 2012 15:54:53 -0600 Subject: [PATCH] ASoC: tegra: rename Tegra20-specific driver files Rename these files so they include a specific hardware version in their filenames. The contents is only touched minimally so that git's rename tracking operates correctly; renaming all symbols in the files results in a diff so large that the rename detection fails. Signed-off-by: Stephen Warren Signed-off-by: Mark Brown --- sound/soc/tegra/Makefile | 12 ++++++------ sound/soc/tegra/{tegra_das.c => tegra20_das.c} | 4 ++-- sound/soc/tegra/{tegra_das.h => tegra20_das.h} | 2 +- sound/soc/tegra/{tegra_i2s.c => tegra20_i2s.c} | 4 ++-- sound/soc/tegra/{tegra_i2s.h => tegra20_i2s.h} | 2 +- sound/soc/tegra/{tegra_spdif.c => tegra20_spdif.c} | 4 ++-- sound/soc/tegra/{tegra_spdif.h => tegra20_spdif.h} | 2 +- 7 files changed, 15 insertions(+), 15 deletions(-) rename sound/soc/tegra/{tegra_das.c => tegra20_das.c} (98%) rename sound/soc/tegra/{tegra_das.h => tegra20_das.h} (98%) rename sound/soc/tegra/{tegra_i2s.c => tegra20_i2s.c} (99%) rename sound/soc/tegra/{tegra_i2s.h => tegra20_i2s.h} (99%) rename sound/soc/tegra/{tegra_spdif.c => tegra20_spdif.c} (99%) rename sound/soc/tegra/{tegra_spdif.h => tegra20_spdif.h} (99%) diff --git a/sound/soc/tegra/Makefile b/sound/soc/tegra/Makefile index 714d36070b86..4a33884115f8 100644 --- a/sound/soc/tegra/Makefile +++ b/sound/soc/tegra/Makefile @@ -1,15 +1,15 @@ # Tegra platform Support snd-soc-tegra-pcm-objs := tegra_pcm.o snd-soc-tegra-utils-objs += tegra_asoc_utils.o -snd-soc-tegra-das-objs := tegra_das.o -snd-soc-tegra-i2s-objs := tegra_i2s.o -snd-soc-tegra-spdif-objs := tegra_spdif.o +snd-soc-tegra20-das-objs := tegra20_das.o +snd-soc-tegra20-i2s-objs := tegra20_i2s.o +snd-soc-tegra20-spdif-objs := tegra20_spdif.o obj-$(CONFIG_SND_SOC_TEGRA) += snd-soc-tegra-pcm.o obj-$(CONFIG_SND_SOC_TEGRA) += snd-soc-tegra-utils.o -obj-$(CONFIG_SND_SOC_TEGRA_DAS) += snd-soc-tegra-das.o -obj-$(CONFIG_SND_SOC_TEGRA_I2S) += snd-soc-tegra-i2s.o -obj-$(CONFIG_SND_SOC_TEGRA_SPDIF) += snd-soc-tegra-spdif.o +obj-$(CONFIG_SND_SOC_TEGRA_DAS) += snd-soc-tegra20-das.o +obj-$(CONFIG_SND_SOC_TEGRA_I2S) += snd-soc-tegra20-i2s.o +obj-$(CONFIG_SND_SOC_TEGRA_SPDIF) += snd-soc-tegra20-spdif.o # Tegra machine Support snd-soc-tegra-wm8903-objs := tegra_wm8903.o diff --git a/sound/soc/tegra/tegra_das.c b/sound/soc/tegra/tegra20_das.c similarity index 98% rename from sound/soc/tegra/tegra_das.c rename to sound/soc/tegra/tegra20_das.c index 3b3c1ba4d235..b5e369820cb3 100644 --- a/sound/soc/tegra/tegra_das.c +++ b/sound/soc/tegra/tegra20_das.c @@ -1,5 +1,5 @@ /* - * tegra_das.c - Tegra DAS driver + * tegra20_das.c - Tegra20 DAS driver * * Author: Stephen Warren * Copyright (C) 2010 - NVIDIA, Inc. @@ -29,7 +29,7 @@ #include #include #include -#include "tegra_das.h" +#include "tegra20_das.h" #define DRV_NAME "tegra-das" diff --git a/sound/soc/tegra/tegra_das.h b/sound/soc/tegra/tegra20_das.h similarity index 98% rename from sound/soc/tegra/tegra_das.h rename to sound/soc/tegra/tegra20_das.h index 1810cd1e7f0c..896bf031a801 100644 --- a/sound/soc/tegra/tegra_das.h +++ b/sound/soc/tegra/tegra20_das.h @@ -1,5 +1,5 @@ /* - * tegra_das.h - Definitions for Tegra DAS driver + * tegra20_das.h - Definitions for Tegra20 DAS driver * * Author: Stephen Warren * Copyright (C) 2010 - NVIDIA, Inc. diff --git a/sound/soc/tegra/tegra_i2s.c b/sound/soc/tegra/tegra20_i2s.c similarity index 99% rename from sound/soc/tegra/tegra_i2s.c rename to sound/soc/tegra/tegra20_i2s.c index 2d32b8ce5f2e..e24759ae291b 100644 --- a/sound/soc/tegra/tegra_i2s.c +++ b/sound/soc/tegra/tegra20_i2s.c @@ -1,5 +1,5 @@ /* - * tegra_i2s.c - Tegra I2S driver + * tegra20_i2s.c - Tegra20 I2S driver * * Author: Stephen Warren * Copyright (C) 2010,2012 - NVIDIA, Inc. @@ -43,7 +43,7 @@ #include #include -#include "tegra_i2s.h" +#include "tegra20_i2s.h" #define DRV_NAME "tegra-i2s" diff --git a/sound/soc/tegra/tegra_i2s.h b/sound/soc/tegra/tegra20_i2s.h similarity index 99% rename from sound/soc/tegra/tegra_i2s.h rename to sound/soc/tegra/tegra20_i2s.h index c08e019c0260..56f1e0f87c0b 100644 --- a/sound/soc/tegra/tegra_i2s.h +++ b/sound/soc/tegra/tegra20_i2s.h @@ -1,5 +1,5 @@ /* - * tegra_i2s.h - Definitions for Tegra I2S driver + * tegra20_i2s.h - Definitions for Tegra20 I2S driver * * Author: Stephen Warren * Copyright (C) 2010 - NVIDIA, Inc. diff --git a/sound/soc/tegra/tegra_spdif.c b/sound/soc/tegra/tegra20_spdif.c similarity index 99% rename from sound/soc/tegra/tegra_spdif.c rename to sound/soc/tegra/tegra20_spdif.c index 3426633e9147..ed1fd502ef8d 100644 --- a/sound/soc/tegra/tegra_spdif.c +++ b/sound/soc/tegra/tegra20_spdif.c @@ -1,5 +1,5 @@ /* - * tegra_spdif.c - Tegra SPDIF driver + * tegra20_spdif.c - Tegra20 SPDIF driver * * Author: Stephen Warren * Copyright (C) 2011-2012 - NVIDIA, Inc. @@ -34,7 +34,7 @@ #include #include -#include "tegra_spdif.h" +#include "tegra20_spdif.h" #define DRV_NAME "tegra-spdif" diff --git a/sound/soc/tegra/tegra_spdif.h b/sound/soc/tegra/tegra20_spdif.h similarity index 99% rename from sound/soc/tegra/tegra_spdif.h rename to sound/soc/tegra/tegra20_spdif.h index f5fc7124aa7b..001f9dcd2033 100644 --- a/sound/soc/tegra/tegra_spdif.h +++ b/sound/soc/tegra/tegra20_spdif.h @@ -1,5 +1,5 @@ /* - * tegra_spdif.h - Definitions for Tegra SPDIF driver + * tegra20_spdif.h - Definitions for Tegra20 SPDIF driver * * Author: Stephen Warren * Copyright (C) 2011 - NVIDIA, Inc.