The array size of wrst_seq is ARRAY_SIZE(wrst_seq) Signed-off-by: Kim Kyuwon <q1.kim@xxxxxxxxxxx> --- arch/arm/mach-omap2/board-3430sdp.c | 2 +- arch/arm/mach-omap2/board-ldp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/board-3430sdp.c b/arch/arm/mach-omap2/board-3430sdp.c index 03acac7..38550e2 100644 --- a/arch/arm/mach-omap2/board-3430sdp.c +++ b/arch/arm/mach-omap2/board-3430sdp.c @@ -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, }; diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c index 804fd8e..da814d7 100644 --- a/arch/arm/mach-omap2/board-ldp.c +++ b/arch/arm/mach-omap2/board-ldp.c @@ -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, }; -- 1.5.2.5 -- Happy Engineer. Kim Kyuwon ��.n��������+%������w��{.n�����{�������ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f