From patchwork Fri Apr 10 04:30:30 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kim kyuwon X-Patchwork-Id: 17530 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n3A4VRZM011811 for ; Fri, 10 Apr 2009 04:31:27 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751341AbZDJEar (ORCPT ); Fri, 10 Apr 2009 00:30:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752595AbZDJEar (ORCPT ); Fri, 10 Apr 2009 00:30:47 -0400 Received: from wf-out-1314.google.com ([209.85.200.168]:1186 "EHLO wf-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753010AbZDJEaq convert rfc822-to-8bit (ORCPT ); Fri, 10 Apr 2009 00:30:46 -0400 Received: by wf-out-1314.google.com with SMTP id 29so933360wff.4 for ; Thu, 09 Apr 2009 21:30:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=2NLLSKbK6Us62Y+YLBQs4oelNEAe/hbB5LG/Qq2l9NU=; b=resM+z47l9wcZCT7GhlF6gZQzZ83z2VywfYgmYG+rSI18CrCPjwgHx1Z9N0+MRpN2j hwWo854sBjTR4ikHO+1IviFbcNwjnb3Elj10S15H3O6LbmlddFwa2gYg7n9siLvJMU55 sLl+lenvys6JHNhvTMGKY7UDgGJBz4XUyPuPM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; b=KjQwLq1Gj5/9RkpxxVefcUKMAyw+3bLu9WoBRDwIFzVRushGsy3NcArQTyvaOSvjjs G0kH9QDVFE6mgZENykgO8Q3Zmgn4YbH1d3d4bHXWjwREuLvLrB1EQZIuT/dNORD24II9 OJ9Xfm6dgPXVK18ezPrlij0u1A0BC+vc1srWY= MIME-Version: 1.0 Received: by 10.142.140.6 with SMTP id n6mr275696wfd.302.1239337845169; Thu, 09 Apr 2009 21:30:45 -0700 (PDT) From: Kim Kyuwon Date: Fri, 10 Apr 2009 13:30:30 +0900 Message-ID: <4d34a0a70904092130r215f0eb3p6a45c4950c92e5c0@mail.gmail.com> Subject: [PATCH] Fix the size of twl4030 script To: OMAP Cc: Tony Lindgren Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org The array size of wrst_seq is ARRAY_SIZE(wrst_seq) Signed-off-by: Kim Kyuwon --- 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, };