ARM: mach-shmobile: sh7372 INTC DT INTCA/INTCS typo fix
Magnus Damm
maintainerPATCH 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.
Signed-off-by Magnus Damm <[email protected]>
---
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 dreturn -ENODEV ; ret =of_sh_intc_get_meminfo (np, - intca_resources,ARRAY_SIZE (intcs_resources)); + intca_resources,ARRAY_SIZE (intca_resources));if (ret) goto error;