public inbox for linux-sh@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 01/04] ARM: mach-shmobile: sh7372 INTC DT INTCA/INTCS typo fix
@ 2012-11-16 10:34 Magnus Damm
  0 siblings, 0 replies; only message in thread
From: Magnus Damm @ 2012-11-16 10:34 UTC (permalink / raw)
  To: linux-sh

From: Magnus Damm <damm@opensource.se>

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

Signed-off-by: Magnus Damm <damm@opensource.se>
---

 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(-)

--- 0001/arch/arm/mach-shmobile/intc-sh7372.c
+++ work/arch/arm/mach-shmobile/intc-sh7372.c	2012-11-15 19:13:20.000000000 +0900
@@ -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;
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-11-16 10:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-16 10:34 [PATCH 01/04] ARM: mach-shmobile: sh7372 INTC DT INTCA/INTCS typo fix Magnus Damm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox