[ARM] tegra: olympus: Delete platform data for hsuart.
authorJaikumar Ganesh <jaikumar@google.com>
Tue, 23 Nov 2010 23:03:01 +0000 (15:03 -0800)
committerColin Cross <ccross@android.com>
Thu, 25 Nov 2010 00:42:30 +0000 (16:42 -0800)
Use the device defined in devices.c which uses resources.

Signed-off-by: Jaikumar Ganesh <jaikumar@google.com>
arch/arm/mach-tegra/board-olympus.c

index 58f24a2197f2788580c0881d7837352012853412..40470c6dcb3f494227e48d14d0379942210a3ae2 100644 (file)
@@ -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,