projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18bcd0c
)
ARM: S5P64X0: Fix iodesc array size for S5P6450
author
Banajit Goswami
<banajit.g@samsung.com>
Fri, 18 Mar 2011 11:45:22 +0000
(17:15 +0530)
committer
Kukjin Kim
<kgene.kim@samsung.com>
Mon, 28 Mar 2011 07:17:53 +0000
(16:17 +0900)
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>
arch/arm/mach-s5p64x0/cpu.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-s5p64x0/cpu.c
b/arch/arm/mach-s5p64x0/cpu.c
index b8d02eb4cf30efeb5ed749eb755cd29d44461ed6..a5c00952ea35c71047c1362e29735179bd4ac261 100644
(file)
--- 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(s5p64
4
0_iodesc));
+ iotable_init(s5p6450_iodesc, ARRAY_SIZE(s5p64
5
0_iodesc));
}
/*