arm/tegra: Fix section mismatch errors in tegra20 pinmux
authorStephen Warren <swarren@nvidia.com>
Mon, 19 Dec 2011 18:01:57 +0000 (11:01 -0700)
committerOlof Johansson <olof@lixom.net>
Tue, 20 Dec 2011 02:04:41 +0000 (18:04 -0800)
tegra20_pinmux_init() is called from the pinmux's probe() function, and
hence should be __devinit not __init.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-tegra/pinmux-tegra20-tables.c

index 0fe533573567cad6d9a23ed4f2d6668bd37c84e0..734add1280b7b913a851010f86b5496b3b9cc04f 100644 (file)
@@ -232,7 +232,7 @@ static const struct tegra_pingroup_desc tegra_soc_pingroups[TEGRA_MAX_PINGROUP]
        PINGROUP(XM2D,  DDR,   RSVD,      RSVD,      RSVD,      RSVD,          RSVD,      -1,   -1, -1,   -1, 0xA8, 28),
 };
 
-void __init tegra20_pinmux_init(const struct tegra_pingroup_desc **pg,
+void __devinit tegra20_pinmux_init(const struct tegra_pingroup_desc **pg,
                int *pg_max, const struct tegra_drive_pingroup_desc **pgdrive,
                int *pgdrive_max)
 {