ARM: S5P64X0: Fix iodesc array size for S5P6450
Subsystems (3)
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.
Signed-off-by Banajit Goswami <[email protected]>
Signed-off-by Kukjin Kim <[email protected]>
--- arch/arm/mach-s5p64x0/cpu.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-s5p64x0/cpu.c +1 -1
@@ -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