From patchwork Tue Dec 2 08:36:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 5417771 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 0324F9F1CD for ; Tue, 2 Dec 2014 08:37:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2CBF72026C for ; Tue, 2 Dec 2014 08:37:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3C80B202BE for ; Tue, 2 Dec 2014 08:37:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751559AbaLBIhI (ORCPT ); Tue, 2 Dec 2014 03:37:08 -0500 Received: from mail-wg0-f47.google.com ([74.125.82.47]:43854 "EHLO mail-wg0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751321AbaLBIhE (ORCPT ); Tue, 2 Dec 2014 03:37:04 -0500 Received: by mail-wg0-f47.google.com with SMTP id n12so16189308wgh.6 for ; Tue, 02 Dec 2014 00:37:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=LWEg9J7rEs0Zp7/BNzGZxUlipj+J/ys0+aMoY5iMuJ4=; b=IlsM7GYgGBq8eCQpw+ZpbnkcLK0tmP9CHAF9JOmqNoqoVYqlQBDN0uZb4/Quxqt3bO Ky5kkAPSlQ6JupiUv1IZ1rnUram9cdf6zATSa0CZXiK+d0JlHt0d0aP/++9pNwdx+gyx L2bX0LR62Fgk7yNE3NuS0sbNC3dOblKQIKjrYOYfAC/K+N/cVEywlfK9L3Egxyd+dNvc WyEDTMtbwAsqd9MwKMLY681WXp5ts3nhRE6sXbpQmp4zE5Xb3qTHPN6nkaxnPL7sbgtN 19SEXGuIAX+4drvq6tcCSCDRtMDblYarfD4B6KLVT4mH+ujvpp45m8PV3kuh5dBjroy3 2/LA== X-Received: by 10.194.87.131 with SMTP id ay3mr102911918wjb.66.1417509422976; Tue, 02 Dec 2014 00:37:02 -0800 (PST) Received: from groucho.site (ipbcc02219.dynamic.kabel-deutschland.de. [188.192.34.25]) by mx.google.com with ESMTPSA id wb9sm17529872wic.20.2014.12.02.00.37.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Dec 2014 00:37:02 -0800 (PST) From: Ulrich Hecht To: mturquette@linaro.org, geert@linux-m68k.org Cc: horms@verge.net.au, linux-sh@vger.kernel.org, magnus.damm@gmail.com, laurent.pinchart+renesas@ideasonboard.com, Ulrich Hecht Subject: [PATCH v3 5/6] ARM: shmobile: ape6evm: disable legacy clock initialization Date: Tue, 2 Dec 2014 09:36:48 +0100 Message-Id: <1417509409-31638-6-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 1.8.4.5 In-Reply-To: <1417509409-31638-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1417509409-31638-1-git-send-email-ulrich.hecht+renesas@gmail.com> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Disables r8a73a4_clock_init() if CCF is enabled. Signed-off-by: Ulrich Hecht --- arch/arm/mach-shmobile/board-ape6evm-reference.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-shmobile/board-ape6evm-reference.c b/arch/arm/mach-shmobile/board-ape6evm-reference.c index 3b68370..dd5bc63 100644 --- a/arch/arm/mach-shmobile/board-ape6evm-reference.c +++ b/arch/arm/mach-shmobile/board-ape6evm-reference.c @@ -29,7 +29,7 @@ static void __init ape6evm_add_standard_devices(void) { - +#ifndef CONFIG_COMMON_CLK struct clk *parent; struct clk *mp; @@ -43,6 +43,7 @@ static void __init ape6evm_add_standard_devices(void) clk_set_parent(mp, parent); clk_put(parent); clk_put(mp); +#endif of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); }