Skip to content

Commit

Permalink
arm/tegra: Fix section mismatch errors in tegra30 pinmux
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephen Warren authored and Olof Johansson committed Dec 20, 2011
1 parent ba4ba3b commit ac8a494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-tegra/pinmux-tegra30-tables.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit ac8a494

Please sign in to comment.