arm: tegra: bonaire: register apb dma through board file
Kunal Agrawal [Mon, 8 Apr 2013 12:26:08 +0000 (17:26 +0530)]
Bug 1260656

Change-Id: I19cb19a3ccba233454a6ce24c952674cfdfb4ffb
Signed-off-by: Kunal Agrawal <kunala@nvidia.com>
Reviewed-on: http://git-master/r/217360
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Manoj Gangwal <mgangwal@nvidia.com>

arch/arm/mach-tegra/board-bonaire.c

index 14ab8fa..c3ff7f2 100644 (file)
@@ -219,6 +219,11 @@ static void bonaire_i2c_init(void)
        platform_device_register(&tegra14_i2c_device1);
 }
 
+static void bonaire_apbdma_init(void)
+{
+       platform_device_register(&tegra_apbdma);
+}
+
 static struct platform_device *bonaire_spi_devices[] __initdata = {
        &tegra11_spi_device4,
 };
@@ -589,6 +594,7 @@ static void __init tegra_bonaire_init(void)
        tegra_enable_pinmux();
        bonaire_pinmux_init();
        tegra_soc_device_init("bonaire");
+       bonaire_apbdma_init();
 
 #ifdef CONFIG_TEGRA_FPGA_PLATFORM
        if (tegra_platform_is_qt())