* [PATCH 0/2] arm/tegra: Fix section mismatch errors in pinmux
@ 2011-12-19 18:01 Stephen Warren
2011-12-19 18:01 ` [PATCH 1/2] arm/tegra: Fix section mismatch errors in tegra20 pinmux Stephen Warren
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Stephen Warren @ 2011-12-19 18:01 UTC (permalink / raw)
To: linux-arm-kernel
Patches in Tegra's for-3.3/soc branch introduce some section mismatch
errors when building with CONFIG_DEBUG_SECTION_MISMATCH=y. This series
fixes them. I patched each file separately in case you want to squash
these into the original patches.
tegra20: 6996e08 arm/tegra: prepare pinmux code for multiple tegra variants
tegra30: 241682c arm/tegra: pinmux tables and definitions for tegra30
Stephen Warren (2):
arm/tegra: Fix section mismatch errors in tegra20 pinmux
arm/tegra: Fix section mismatch errors in tegra30 pinmux
arch/arm/mach-tegra/pinmux-tegra20-tables.c | 2 +-
arch/arm/mach-tegra/pinmux-tegra30-tables.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] arm/tegra: Fix section mismatch errors in tegra20 pinmux
2011-12-19 18:01 [PATCH 0/2] arm/tegra: Fix section mismatch errors in pinmux Stephen Warren
@ 2011-12-19 18:01 ` Stephen Warren
2011-12-19 18:01 ` [PATCH 2/2] arm/tegra: Fix section mismatch errors in tegra30 pinmux Stephen Warren
2011-12-20 2:05 ` [PATCH 0/2] arm/tegra: Fix section mismatch errors in pinmux Olof Johansson
2 siblings, 0 replies; 4+ messages in thread
From: Stephen Warren @ 2011-12-19 18:01 UTC (permalink / raw)
To: linux-arm-kernel
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>
---
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 0fe5335..734add1 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]
PINGROUP(XM2D, DDR, RSVD, RSVD, RSVD, RSVD, RSVD, -1, -1, -1, -1, 0xA8, 28),
};
-void __init tegra20_pinmux_init(const struct tegra_pingroup_desc **pg,
+void __devinit tegra20_pinmux_init(const struct tegra_pingroup_desc **pg,
int *pg_max, const struct tegra_drive_pingroup_desc **pgdrive,
int *pgdrive_max)
{
--
1.7.0.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] arm/tegra: Fix section mismatch errors in tegra30 pinmux
2011-12-19 18:01 [PATCH 0/2] arm/tegra: Fix section mismatch errors in pinmux Stephen Warren
2011-12-19 18:01 ` [PATCH 1/2] arm/tegra: Fix section mismatch errors in tegra20 pinmux Stephen Warren
@ 2011-12-19 18:01 ` Stephen Warren
2011-12-20 2:05 ` [PATCH 0/2] arm/tegra: Fix section mismatch errors in pinmux Olof Johansson
2 siblings, 0 replies; 4+ messages in thread
From: Stephen Warren @ 2011-12-19 18:01 UTC (permalink / raw)
To: linux-arm-kernel
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>
---
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 8b6db9a..14fc0e4 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)
{
--
1.7.0.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 0/2] arm/tegra: Fix section mismatch errors in pinmux
2011-12-19 18:01 [PATCH 0/2] arm/tegra: Fix section mismatch errors in pinmux Stephen Warren
2011-12-19 18:01 ` [PATCH 1/2] arm/tegra: Fix section mismatch errors in tegra20 pinmux Stephen Warren
2011-12-19 18:01 ` [PATCH 2/2] arm/tegra: Fix section mismatch errors in tegra30 pinmux Stephen Warren
@ 2011-12-20 2:05 ` Olof Johansson
2 siblings, 0 replies; 4+ messages in thread
From: Olof Johansson @ 2011-12-20 2:05 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Dec 19, 2011 at 11:01:56AM -0700, Stephen Warren wrote:
> Patches in Tegra's for-3.3/soc branch introduce some section mismatch
> errors when building with CONFIG_DEBUG_SECTION_MISMATCH=y. This series
> fixes them. I patched each file separately in case you want to squash
> these into the original patches.
>
> tegra20: 6996e08 arm/tegra: prepare pinmux code for multiple tegra variants
> tegra30: 241682c arm/tegra: pinmux tables and definitions for tegra30
Thanks, applied to for-3.3/soc.
-Olof
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-12-20 2:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-19 18:01 [PATCH 0/2] arm/tegra: Fix section mismatch errors in pinmux Stephen Warren
2011-12-19 18:01 ` [PATCH 1/2] arm/tegra: Fix section mismatch errors in tegra20 pinmux Stephen Warren
2011-12-19 18:01 ` [PATCH 2/2] arm/tegra: Fix section mismatch errors in tegra30 pinmux Stephen Warren
2011-12-20 2:05 ` [PATCH 0/2] arm/tegra: Fix section mismatch errors in pinmux Olof Johansson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).