summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Cherry <tcherry@nvidia.com>2011-05-26 18:41:45 -0700
committerNiket Sirsi <nsirsi@nvidia.com>2011-06-02 22:49:05 -0700
commit1c816d8ad23cab79dccd4f8798e50714f28d497e (patch)
tree86d00df3dd4826f75ad7dc727c01b457d02c341e
parentf1a2c5d3406adba37a6dfd59fe1ad1d629fd9365 (diff)
arm: tegra: add tegra_i2s_device0
Change-Id: I788d41d7c9880e29031d50b3d8829953cbc38f4f Reviewed-on: http://git-master/r/34239 Reviewed-by: Niket Sirsi <nsirsi@nvidia.com> Tested-by: Niket Sirsi <nsirsi@nvidia.com>
-rw-r--r--arch/arm/mach-tegra/devices.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/arch/arm/mach-tegra/devices.c b/arch/arm/mach-tegra/devices.c
index 8d8af50d9fb1..b38d31f999df 100644
--- a/arch/arm/mach-tegra/devices.c
+++ b/arch/arm/mach-tegra/devices.c
@@ -666,19 +666,14 @@ static struct resource spdif_resource[] = {
};
#else
-static struct resource audio_resource[] = {
- [0] = {
- .start = TEGRA_AUDIO_CLUSTER_BASE,
- .end = TEGRA_AUDIO_CLUSTER_BASE + TEGRA_AUDIO_CLUSTER_SIZE - 1,
- .flags = IORESOURCE_MEM
- }
+struct platform_device tegra_i2s_device0 = {
+ .name = "i2s",
+ .id = 0,
};
struct platform_device tegra_i2s_device1 = {
.name = "i2s",
.id = 1,
- .resource = audio_resource,
- .num_resources = ARRAY_SIZE(audio_resource),
};
struct platform_device tegra_i2s_device2 = {