From f050e0c72bfdb2c9f2501440e4aada3fbc228ea0 Mon Sep 17 00:00:00 2001 From: Jaikumar Ganesh Date: Tue, 23 Nov 2010 15:03:01 -0800 Subject: [PATCH] [ARM] tegra: olympus: Delete platform data for hsuart. Use the device defined in devices.c which uses resources. Signed-off-by: Jaikumar Ganesh --- arch/arm/mach-tegra/board-olympus.c | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/arch/arm/mach-tegra/board-olympus.c b/arch/arm/mach-tegra/board-olympus.c index 58f24a2197f2..40470c6dcb3f 100644 --- a/arch/arm/mach-tegra/board-olympus.c +++ b/arch/arm/mach-tegra/board-olympus.c @@ -95,25 +95,6 @@ static struct platform_device debug_uart = { }, }; -static struct plat_serial8250_port hsuart_platform_data[] = { - { - .mapbase = TEGRA_UARTD_BASE, - .membase = IO_ADDRESS(TEGRA_UARTD_BASE), - .irq = INT_UARTD, - }, { - .flags = 0 - } -}; - -static struct platform_device hsuart = { - .name = "tegra_uart", - .id = 3, - .dev = { - .platform_data = hsuart_platform_data, - .coherent_dma_mask = 0xffffffff, - }, -}; - /* OTG gadget device */ static u64 tegra_otg_dmamask = DMA_BIT_MASK(32); @@ -277,7 +258,7 @@ static struct platform_device *olympus_devices[] __initdata = { &tegra_otg, &androidusb_device, &pda_power_device, - &hsuart, + &tegra_uartd_device, &tegra_i2c_device1, &tegra_i2c_device2, &tegra_i2c_device3, -- 2.34.1