From: Stephen Warren Date: Mon, 19 Dec 2011 18:01:58 +0000 (-0700) Subject: arm/tegra: Fix section mismatch errors in tegra30 pinmux X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ac8a494894e0e7add2fd0919d1929c21d8cf03e1;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git arm/tegra: Fix section mismatch errors in tegra30 pinmux tegra30_pinmux_init() is called from the pinmux's probe() function, and hence should be __devinit not __init. Signed-off-by: Stephen Warren Signed-off-by: Olof Johansson --- diff --git a/arch/arm/mach-tegra/pinmux-tegra30-tables.c b/arch/arm/mach-tegra/pinmux-tegra30-tables.c index 8b6db9a9152f..14fc0e4c1c44 100644 --- a/arch/arm/mach-tegra/pinmux-tegra30-tables.c +++ b/arch/arm/mach-tegra/pinmux-tegra30-tables.c @@ -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) {