Skip to contentSkip to conversation

Fix the size of twl4030 script

PATCH New Kyuwon Kim 1 participant 1 message Apr 10, 2009

Subsystems (3)
lore
Share & tools
lore

Kyuwon Kim

author
#0 lore raw

PATCH 1/1 Fix the size of twl4030 script

The array size of wrst_seq is ARRAY_SIZE(wrst_seq)

---
 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
index 03acac7..38550e2 100644
@@ -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
index 804fd8e..da814d7 100644
@@ -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