From patchwork Tue Jun 16 07:44:10 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 30557 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 n5G7hhBq006823 for ; Tue, 16 Jun 2009 07:44:26 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752053AbZFPHoW (ORCPT ); Tue, 16 Jun 2009 03:44:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752098AbZFPHoW (ORCPT ); Tue, 16 Jun 2009 03:44:22 -0400 Received: from mail.renesas.com ([202.234.163.13]:53725 "EHLO mail04.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752053AbZFPHoV (ORCPT ); Tue, 16 Jun 2009 03:44:21 -0400 X-AuditID: ac140387-00000006000005fd-40-4a374d5479be Received: from guardian01.idc.renesas.com ([172.20.8.200]) by mail04.idc.renesas.com (sendmail) with ESMTP id n5G7iKf6005777; Tue, 16 Jun 2009 16:44:20 +0900 (JST) Received: (from root@localhost) by guardian01.idc.renesas.com with id n5G7iKJB016969; Tue, 16 Jun 2009 16:44:20 +0900 (JST) Received: from mta03.idc.renesas.com (localhost [127.0.0.1]) by mta03.idc.renesas.com with ESMTP id n5G7iJoK017553; Tue, 16 Jun 2009 16:44:19 +0900 (JST) Received: from [172.30.8.158] by ims05.idc.renesas.com (Sendmail) with ESMTPA id <0KLB00L3GMTVY2@ims05.idc.renesas.com>; Tue, 16 Jun 2009 16:44:19 +0900 (JST) Date: Tue, 16 Jun 2009 16:44:10 +0900 From: Nobuhiro Iwamatsu Subject: [PATCH] sh: Revised clock function in highlander To: Linux-sh Cc: Paul Mundt Message-id: <4A374D4A.7000200@renesas.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-2022-JP Content-transfer-encoding: 7bit User-Agent: Thunderbird 1.5.0.14 (Windows/20071210) X-Brightmail-Tracker: AAAAAA== Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org Clock function was changed, but highlander used old function. Signed-off-by: Nobuhiro Iwamatsu --- arch/sh/boards/mach-highlander/setup.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/sh/boards/mach-highlander/setup.c b/arch/sh/boards/mach-highlander/setup.c index df054e5..dd297d8 100644 --- a/arch/sh/boards/mach-highlander/setup.c +++ b/arch/sh/boards/mach-highlander/setup.c @@ -296,9 +296,10 @@ device_initcall(r7780rp_devices_setup); /* * Platform specific clocks */ -static void ivdr_clk_enable(struct clk *clk) +static int ivdr_clk_enable(struct clk *clk) { ctrl_outw(ctrl_inw(PA_IVDRCTL) | (1 << IVDR_CK_ON), PA_IVDRCTL); + return 0; } static void ivdr_clk_disable(struct clk *clk)