diff options
author | Banajit Goswami <banajit.g@samsung.com> | 2011-03-18 17:15:22 +0530 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-03-28 16:17:53 +0900 |
commit | 3814554d11b3f677117ab048f147d207fd66f856 (patch) | |
tree | eac064b6ff630b3cb4b35a6507e5d03c7ff626cd /arch/arm/mach-s5p64x0/cpu.c | |
parent | 18bcd0c8cb7d85a9063b88ec810dc1cdc0974518 (diff) | |
download | kernel_samsung_smdk4412-3814554d11b3f677117ab048f147d207fd66f856.zip kernel_samsung_smdk4412-3814554d11b3f677117ab048f147d207fd66f856.tar.gz kernel_samsung_smdk4412-3814554d11b3f677117ab048f147d207fd66f856.tar.bz2 |
ARM: S5P64X0: Fix iodesc array size for S5P6450
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 <banajit.g@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5p64x0/cpu.c')
-rw-r--r-- | arch/arm/mach-s5p64x0/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-s5p64x0/cpu.c b/arch/arm/mach-s5p64x0/cpu.c index b8d02eb..a5c0095 100644 --- a/arch/arm/mach-s5p64x0/cpu.c +++ b/arch/arm/mach-s5p64x0/cpu.c @@ -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)); } /* |