Skip to contentSkip to conversation

ARM: mach-shmobile: sh7372 INTC DT INTCA/INTCS typo 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 1/4 ARM: mach-shmobile: sh7372 INTC DT INTCA/INTCS typo fix

From: Magnus Damm <[email protected]>

Fix the sh7372 INTC DT code for INTCA to use ARRAY_SIZE() on intca_resources instead of intcs_resources.

---

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 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-shmobile/intc-sh7372.c +1 -1
@@ -49,7 +49,7 @@ static int sh7372_intca_of_init(struct d
 		return -ENODEV;
 
 	ret = of_sh_intc_get_meminfo(np,
-				intca_resources, ARRAY_SIZE(intcs_resources));
+				intca_resources, ARRAY_SIZE(intca_resources));
 	if (ret)
 		goto error;