ARM: tegra11: pinmux: correct pinmux register resource
Jay Cheng [Tue, 5 Feb 2013 00:02:01 +0000 (19:02 -0500)]
the last mux register expand to 0x3408 offset

Change-Id: Idc82ea6513fbc5a555540a9e416b2042554853ce
Signed-off-by: Jay Cheng <jacheng@nvidia.com>
Reviewed-on: http://git-master/r/197199
(cherry picked from commit b700ab73e5b08bec98d902380259bfd8e8f30a0e)
Reviewed-on: http://git-master/r/205945
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

arch/arm/mach-tegra/devices.c

index a4716d0..47c1016 100644 (file)
@@ -155,7 +155,11 @@ static struct resource pinmux_resource[] = {
        [1] = {
                /* Mux registers */
                .start  = TEGRA_APB_MISC_BASE + 0x3000,
+#ifdef CONFIG_ARCH_TEGRA_3x_SOC
                .end    = TEGRA_APB_MISC_BASE + 0x33e0 + 3,
+#elif defined(CONFIG_ARCH_TEGRA_11x_SOC)
+               .end    = TEGRA_APB_MISC_BASE + 0x3408 + 3,
+#endif
                .flags  = IORESOURCE_MEM,
        },
 #endif