diff options
author | Stephen Warren <swarren@nvidia.com> | 2011-12-19 13:01:58 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2011-12-19 21:04:41 -0500 |
commit | ac8a494894e0e7add2fd0919d1929c21d8cf03e1 (patch) | |
tree | c2975a84d978af87abc066205afddbc2c0e58618 | |
parent | ba4ba3b02de3b4397e3eaf7926f82ff7229bcfca (diff) |
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 <swarren@nvidia.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r-- | arch/arm/mach-tegra/pinmux-tegra30-tables.c | 2 |
1 files changed, 1 insertions, 1 deletions
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] | |||
364 | PINGROUP(HDMI_CEC, SYS, CEC, RSVD1, RSVD2, RSVD3, RSVD, INPUT, 0x33e0), | 364 | PINGROUP(HDMI_CEC, SYS, CEC, RSVD1, RSVD2, RSVD3, RSVD, INPUT, 0x33e0), |
365 | }; | 365 | }; |
366 | 366 | ||
367 | void __init tegra30_pinmux_init(const struct tegra_pingroup_desc **pg, | 367 | void __devinit tegra30_pinmux_init(const struct tegra_pingroup_desc **pg, |
368 | int *pg_max, const struct tegra_drive_pingroup_desc **pgdrive, | 368 | int *pg_max, const struct tegra_drive_pingroup_desc **pgdrive, |
369 | int *pgdrive_max) | 369 | int *pgdrive_max) |
370 | { | 370 | { |