arm/tegra: Fix section mismatch errors in tegra30 pinmux
authorStephen Warren <swarren@nvidia.com>
Mon, 19 Dec 2011 18:01:58 +0000 (11:01 -0700)
committerOlof Johansson <olof@lixom.net>
Tue, 20 Dec 2011 02:04:41 +0000 (18:04 -0800)
tegra30_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-tegra30-tables.c

index 8b6db9a9152f00f9184ad1545b90f2842e6de8cc..14fc0e4c1c447222fbe07b9669de2803b9fb8c24 100644 (file)
@@ -364,7 +364,7 @@ static const struct tegra_pingroup_desc tegra_soc_pingroups[TEGRA_MAX_PINGROUP]
        PINGROUP(HDMI_CEC,        SYS,      CEC,        RSVD1,      RSVD2,      RSVD3,      RSVD,       INPUT,  0x33e0),
 };
 
-void __init tegra30_pinmux_init(const struct tegra_pingroup_desc **pg,
+void __devinit tegra30_pinmux_init(const struct tegra_pingroup_desc **pg,
                int *pg_max, const struct tegra_drive_pingroup_desc **pgdrive,
                int *pgdrive_max)
 {