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: 2596791 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 4C573DFE82 for ; Tue, 21 May 2013 10:38:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751680Ab3EUKiU (ORCPT ); Tue, 21 May 2013 06:38:20 -0400 Received: from moutng.kundenserver.de ([212.227.17.8]:58259 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751368Ab3EUKiT (ORCPT ); Tue, 21 May 2013 06:38:19 -0400 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 cc: linux-pm@vger.kernel.org, Magnus Damm , "Rafael J. Wysocki" , linux-arm-kernel@lists.infradead.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== Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.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); }