diff options
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 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 = { |