Skip to contentSkip to conversation

ARM: S5P64X0: Fix iodesc array size for S5P6450

PATCH New Kukjin Kim 1 participant 1 message Mar 22, 2011

Subsystems (3)
lore
Share & tools
lore

Kukjin Kim

author
#0 lore raw

PATCH 1/1 ARM: S5P64X0: Fix iodesc array size for S5P6450

From: Banajit Goswami <[email protected]>

The array size parameter of iotable_init for S5P6450 is incorrect. Fix this by passing the correct length of s5p6450_iodesc table.

---
 arch/arm/mach-s5p64x0/cpu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-s5p64x0/cpu.c +1 -1
index b8d02eb..a5c0095 100644
@@ -119,7 +119,7 @@ void __init s5p6450_map_io(void)
 	s3c_adc_setname("s3c64xx-adc");
 
 	iotable_init(s5p64x0_iodesc, ARRAY_SIZE(s5p64x0_iodesc));
-	iotable_init(s5p6450_iodesc, ARRAY_SIZE(s5p6440_iodesc));
+	iotable_init(s5p6450_iodesc, ARRAY_SIZE(s5p6450_iodesc));
 }
 
 /*
Signature · 1 line
1.7.1