diff options
author | Tom Cherry <tcherry@nvidia.com> | 2011-05-26 18:41:45 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:42:44 -0800 |
commit | 901206090fc3a8d9a0545632bfcca79bf1684c9e (patch) | |
tree | df62d0f1463d8ec25525727c815254c196255ab6 /arch/arm/mach-tegra/devices.c | |
parent | e3e73f57bb147f84712398b12ed761d8606e0a99 (diff) |
arm: tegra: add tegra_i2s_device0
Original-Change-Id: I788d41d7c9880e29031d50b3d8829953cbc38f4f
Reviewed-on: http://git-master/r/34239
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>
Rebase-Id: Raecd6f7dfd3d2bd398e49100d5c1f8848f9d2f67
Diffstat (limited to 'arch/arm/mach-tegra/devices.c')
-rw-r--r-- | arch/arm/mach-tegra/devices.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/arch/arm/mach-tegra/devices.c b/arch/arm/mach-tegra/devices.c index 8df74f5db407..76daaa67d066 100644 --- a/arch/arm/mach-tegra/devices.c +++ b/arch/arm/mach-tegra/devices.c @@ -790,19 +790,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_audio_device = { .name = "audio", .id = 1, - .resource = audio_resource, - .num_resources = ARRAY_SIZE(audio_resource), }; /* FIXME : Temporarly adding - find the right solution */ |