diff options
author | Gary King <gking@nvidia.com> | 2010-08-03 14:54:13 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:34:59 -0800 |
commit | 258d0bca49fc45f683747234c56bc5764e8d2868 (patch) | |
tree | 2f54f542502399294a93077a5be0e7cadd55d4aa /arch/arm/mach-tegra | |
parent | fbb943e9c8b54a0bbe77de7cadc9cb3f22938bad (diff) |
[ARM] tegra: harmony: use tegra_gart_device rather than local definition
Change-Id: I1b456bb5634a75ae1dba2f5bd64ad71b8abdfc53
Signed-off-by: Gary King <gking@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r-- | arch/arm/mach-tegra/board-harmony.c | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/arch/arm/mach-tegra/board-harmony.c b/arch/arm/mach-tegra/board-harmony.c index cc09464900ce..dfc26fe2a055 100644 --- a/arch/arm/mach-tegra/board-harmony.c +++ b/arch/arm/mach-tegra/board-harmony.c @@ -251,28 +251,6 @@ static struct platform_device pda_power_device = { }, }; -static struct resource tegra_gart_resources[] = { - { - .name = "mc", - .flags = IORESOURCE_MEM, - .start = TEGRA_MC_BASE, - .end = TEGRA_MC_BASE + TEGRA_MC_SIZE - 1, - }, - { - .name = "gart", - .flags = IORESOURCE_MEM, - .start = 0x58000000, - .end = 0x58000000 - 1 + 32 * 1024 * 1024, - } -}; - -static struct platform_device tegra_gart_dev = { - .name = "tegra_gart", - .id = -1, - .num_resources = ARRAY_SIZE(tegra_gart_resources), - .resource = tegra_gart_resources -}; - static struct platform_device *harmony_devices[] __initdata = { &debug_uart, &tegra_sdhci_device1, @@ -293,7 +271,7 @@ static struct platform_device *harmony_devices[] __initdata = { &tegra_spi_device2, &tegra_spi_device3, &tegra_spi_device4, - &tegra_gart_dev, + &tegra_gart_device, }; static void __init tegra_harmony_fixup(struct machine_desc *desc, |