Fix the size of twl4030 script
Subsystems (3)
PATCH 1/1 Fix the size of twl4030 script
The array size of wrst_seq is ARRAY_SIZE(wrst_seq)
Signed-off-by Kim Kyuwon <[email protected]>
--- arch/arm/mach-omap2/board-3430sdp.c | 2 +- arch/arm/mach-omap2/board-ldp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-omap2/board-3430sdp.c +1 -1
@@ -473,7 +473,7 @@ static struct twl4030_ins wrst_seq[] __initdata = { };static struct twl4030_script wrst_script__initdata = { .script = wrst_seq, - .size =ARRAY_SIZE (wakeup_seq), + .size =ARRAY_SIZE (wrst_seq), .flags =TRITON_WRST_SCRIPT , };
arch/arm/mach-omap2/board-ldp.c +1 -1
@@ -450,7 +450,7 @@ static struct twl4030_ins wrst_seq[] __initdata = {static struct twl4030_script wrst_script__initdata = { .script = wrst_seq, - .size =ARRAY_SIZE (wakeup_seq), + .size =ARRAY_SIZE (wrst_seq), .flags =TRITON_WRST_SCRIPT , };
Signature · 4 lines
1.5.2.5 -- Happy Engineer. Kim Kyuwon