diff options
author | Stephen Warren <swarren@nvidia.com> | 2011-12-19 13:01:57 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2011-12-19 21:04:41 -0500 |
commit | ba4ba3b02de3b4397e3eaf7926f82ff7229bcfca (patch) | |
tree | 338c8a7efa71db196fcfebc216a4a589f8e641b2 /arch/arm/mach-tegra/pinmux-tegra20-tables.c | |
parent | 256a32eacf74681631ee7d17c5863f023e3ba402 (diff) |
arm/tegra: Fix section mismatch errors in tegra20 pinmux
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>
Diffstat (limited to 'arch/arm/mach-tegra/pinmux-tegra20-tables.c')
-rw-r--r-- | arch/arm/mach-tegra/pinmux-tegra20-tables.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/pinmux-tegra20-tables.c b/arch/arm/mach-tegra/pinmux-tegra20-tables.c index 0fe533573567..734add1280b7 100644 --- a/arch/arm/mach-tegra/pinmux-tegra20-tables.c +++ b/arch/arm/mach-tegra/pinmux-tegra20-tables.c | |||
@@ -232,7 +232,7 @@ static const struct tegra_pingroup_desc tegra_soc_pingroups[TEGRA_MAX_PINGROUP] | |||
232 | PINGROUP(XM2D, DDR, RSVD, RSVD, RSVD, RSVD, RSVD, -1, -1, -1, -1, 0xA8, 28), | 232 | PINGROUP(XM2D, DDR, RSVD, RSVD, RSVD, RSVD, RSVD, -1, -1, -1, -1, 0xA8, 28), |
233 | }; | 233 | }; |
234 | 234 | ||
235 | void __init tegra20_pinmux_init(const struct tegra_pingroup_desc **pg, | 235 | void __devinit tegra20_pinmux_init(const struct tegra_pingroup_desc **pg, |
236 | int *pg_max, const struct tegra_drive_pingroup_desc **pgdrive, | 236 | int *pg_max, const struct tegra_drive_pingroup_desc **pgdrive, |
237 | int *pgdrive_max) | 237 | int *pgdrive_max) |
238 | { | 238 | { |