Skip to contentSkip to conversation

ARM: mach-shmobile: sh7372 INTC DT section mismatch fix

PATCH In review Magnus Damm 1 participant 1 message Nov 16, 2012

Subsystems (4)
lore
Share & tools
lore

Magnus Damm

author maintainer
#0 lore raw

PATCH 2/4 ARM: mach-shmobile: sh7372 INTC DT section mismatch fix

From: Magnus Damm <[email protected]>

Fix section mismatches in the sh7372 INTC DT code.

---

Applies to the devel/of branch of
git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git

 arch/arm/mach-shmobile/intc-sh7372.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm/mach-shmobile/intc-sh7372.c +4 -4
@@ -40,7 +40,7 @@ static struct intc_desc intca_irq_pins_h
 static struct resource intca_pins_hi_resources[1] __initdata;
 static unsigned short intevtsa_vect;
 
-static int sh7372_intca_of_init(struct device_node *np,
+static int __init sh7372_intca_of_init(struct device_node *np,
 			struct device_node *parent)
 {
 	int ret;
@@ -65,7 +65,7 @@ error:
 	return ret;
 }
 
-static int sh7372_intcs_of_init(struct device_node *np,
+static int __init sh7372_intcs_of_init(struct device_node *np,
 			struct device_node *parent)
 {
 	int ret;
@@ -93,7 +93,7 @@ error:
 	return ret;
 }
 
-static int sh7372_intca_pins_lo_of_init(struct device_node *np,
+static int __init sh7372_intca_pins_lo_of_init(struct device_node *np,
 				    struct device_node *parent)
 {
 	int ret;
@@ -120,7 +120,7 @@ error:
 	return ret;
 }
 
-static int sh7372_intca_pins_hi_of_init(struct device_node *np,
+static int __init sh7372_intca_pins_hi_of_init(struct device_node *np,
 				    struct device_node *parent)
 {
 	int ret;