From patchwork Wed Sep 15 06:38:07 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 181912 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o8F6bRWP000828 for ; Wed, 15 Sep 2010 06:38:13 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752095Ab0IOGiN (ORCPT ); Wed, 15 Sep 2010 02:38:13 -0400 Received: from mail.renesas.com ([202.234.163.13]:37004 "EHLO mail01.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752009Ab0IOGiM (ORCPT ); Wed, 15 Sep 2010 02:38:12 -0400 X-AuditID: ac140384-00000007000004f6-fe-4c9069cf0bbc Received: from guardian02.idc.renesas.com ([172.20.8.201]) by mail01.idc.renesas.com (sendmail) with ESMTP id o8F6c7NN013664; Wed, 15 Sep 2010 15:38:07 +0900 (JST) Received: (from root@localhost) by guardian02.idc.renesas.com with id o8F6c7jf008622; Wed, 15 Sep 2010 15:38:07 +0900 (JST) Received: from mta06.idc.renesas.com (localhost [127.0.0.1]) by mta06.idc.renesas.com with ESMTP id o8F6c7Yp004403; Wed, 15 Sep 2010 15:38:07 +0900 (JST) Received: from PG10870.renesas.com ([172.30.8.159]) by ims05.idc.renesas.com (Sendmail) with ESMTPA id <0L8R00IE0ZRJH7@ims05.idc.renesas.com>; Wed, 15 Sep 2010 15:38:07 +0900 (JST) Date: Wed, 15 Sep 2010 15:38:07 +0900 (JST) Date-warning: Date header was inserted by ims05.idc.renesas.com From: Kuninori Morimoto Subject: [PATCH 1/2] ARM: mach-shmobile: modify wrong array size of div6_reparent_clks In-reply-to: To: Paul Mundt Cc: Magnus , Linux-SH , Guennadi Message-id: MIME-version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-type: text/plain; charset=US-ASCII User-Agent: SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-2022-JP-2?B?U2Fuag==?= =?ISO-2022-JP-2?B?GyQoRCtXGyhC?=) APEL/10.6 Emacs/23.2 (i386-mingw-nt5.1.2600) MULE/6.0 (HANACHIRUSATO) References: X-Brightmail-Tracker: AAAAAA== Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Wed, 15 Sep 2010 06:38:13 +0000 (UTC) diff --git a/arch/arm/mach-shmobile/clock-sh7372.c b/arch/arm/mach-shmobile/clock-sh7372.c index 7594689..ea384e1 100644 --- a/arch/arm/mach-shmobile/clock-sh7372.c +++ b/arch/arm/mach-shmobile/clock-sh7372.c @@ -548,7 +548,7 @@ void __init sh7372_clock_init(void) ret = sh_clk_div6_register(div6_clks, DIV6_NR); if (!ret) - ret = sh_clk_div6_reparent_register(div6_reparent_clks, DIV6_NR); + ret = sh_clk_div6_reparent_register(div6_reparent_clks, DIV6_REPARENT_NR); if (!ret) ret = sh_clk_mstp32_register(mstp_clks, MSTP_NR);