From patchwork Tue May 21 10:37:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 2597311 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork1.kernel.org (Postfix) with ESMTP id 266D73FE81 for ; Tue, 21 May 2013 13:34:29 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uemhv-00060Z-Ue; Tue, 21 May 2013 13:34:28 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uemht-0005lc-9w; Tue, 21 May 2013 13:34:25 +0000 Received: from moutng.kundenserver.de ([212.227.17.10]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uemhp-0005kv-Qw for linux-arm-kernel@lists.infradead.org; Tue, 21 May 2013 13:34:22 +0000 Received: from axis700.grange (dslb-178-001-227-115.pools.arcor-ip.net [178.1.227.115]) by mrelayeu.kundenserver.de (node=mreu3) with ESMTP (Nemesis) id 0M2TKr-1UO22k0OpB-00sPSu; Tue, 21 May 2013 12:37:43 +0200 Received: by axis700.grange (Postfix, from userid 1000) id B291B40BB4; Tue, 21 May 2013 12:37:42 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by axis700.grange (Postfix) with ESMTP id B03B640BB3; Tue, 21 May 2013 12:37:42 +0200 (CEST) Date: Tue, 21 May 2013 12:37:42 +0200 (CEST) From: Guennadi Liakhovetski X-X-Sender: lyakh@axis700.grange To: linux-sh@vger.kernel.org Subject: [PATCH 3/2] ARM: shmobile: r8a7790: add a "cpufreq-cpu0" platform device In-Reply-To: Message-ID: References: MIME-Version: 1.0 X-Provags-ID: V02:K0:x/njmLyAopzqlr+3QmxjXkj0v4rWXjkXRKa4h9iAxGr 4fe52t1eEVgdRRswztQxfwFRrdeFpDqCOOJsxrsQiVG3pqnqeR S/9WVHX3UuyScrNjl0M4ZBl+Ht+v2i77Dkq8oG5lyMf5WtGCUw QEBb2H4xkJxmNoA8aV8ChS7Mk8I5ohdlptNmKH1zyCs1HlAFQF nFAgMPwEV9awreNg0yEWqo03QXshSxGx2IR7L6wrwr+xvKQ+PT mfiBGIJjow26IBdYkirgSt4200FRa37Tmt81WSe/3tyEPBvEPK ++9Ac9V9fTc7FZh1g80lAC8MPmxQ28asgcVhoyD2cSTmbxmXRJ 8MhT9MbCGl08qZAOiH+AHopXQlPXoU+PCxx9CDLjBc2dD6KqQD 4YtOxEcwFTfdA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130521_093422_083279_69F6223F X-CRM114-Status: GOOD ( 10.63 ) X-Spam-Score: -3.0 (---) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-3.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (g.liakhovetski[at]gmx.de) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -1.1 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [212.227.17.10 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: "Rafael J. Wysocki" , Magnus Damm , linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add a "cpufreq-cpu0" platform device, needed to activate the equally named CPUFreq driver. Signed-off-by: Guennadi Liakhovetski --- It can actually be merged with patch 1 from this series arch/arm/mach-shmobile/setup-r8a7790.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-shmobile/setup-r8a7790.c b/arch/arm/mach-shmobile/setup-r8a7790.c index eeef5f6..49c3166 100644 --- a/arch/arm/mach-shmobile/setup-r8a7790.c +++ b/arch/arm/mach-shmobile/setup-r8a7790.c @@ -166,6 +166,7 @@ void __init r8a7790_timer_init(void) #ifdef CONFIG_USE_OF void __init r8a7790_add_standard_devices_dt(void) { + platform_device_register_simple("cpufreq-cpu0", -1, NULL, 0); of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); }