From patchwork Tue Oct 1 08:11:53 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 2968771 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id ADBA3BFF0B for ; Tue, 1 Oct 2013 08:13:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 98C84203DD for ; Tue, 1 Oct 2013 08:13:49 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6ADA420303 for ; Tue, 1 Oct 2013 08:13:48 +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 1VQv4O-0002Y6-1E; Tue, 01 Oct 2013 08:12:36 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VQv49-0002hk-6x; Tue, 01 Oct 2013 08:12:21 +0000 Received: from mail-pa0-x22f.google.com ([2607:f8b0:400e:c03::22f]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VQv3u-0002eh-P1 for linux-arm-kernel@lists.infradead.org; Tue, 01 Oct 2013 08:12:07 +0000 Received: by mail-pa0-f47.google.com with SMTP id kp14so7084951pab.34 for ; Tue, 01 Oct 2013 01:11:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=UK/9h8JXYeOGB1qOtqkpT3hqrIQFJxqV8Wu0jKcKuj8=; b=HN6UZzDMjz9Ag+wmAnBeRxQl3i2SV1enCVB2Jc2nO4Q98HVuOtoolnacBkBtBr2NOw /QUVSEN9BL4tEbmi05daYxHvQhLfRl8JZxQYbXRmT24JikbVvD7NuZ01mpjiCJrY8ZiX gdR+1uTr1H0pSK8AR6P905kHP6BUPaeotLS4aAa0s8pv/WTHKLjcNrmwiv1Xea94bMXK zMe1HROIeCPMCvf6wTRjBUQ9zMZRxQApwLldfzxMgEFW/6rDEmbyF0BADzi5AC38zgD7 iu2ZPLKM31urdEQW9itx9tlqW3hSfvZh2ISPv646PNp6hzrFfStdb+Zi2/4siZIkokTi u3og== X-Received: by 10.68.253.1 with SMTP id zw1mr28086754pbc.30.1380615087861; Tue, 01 Oct 2013 01:11:27 -0700 (PDT) Received: from [127.0.0.1] (ac230065.ppp.asahi-net.or.jp. [183.77.230.65]) by mx.google.com with ESMTPSA id ed3sm5330601pbc.6.1969.12.31.16.00.00 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 01 Oct 2013 01:11:26 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Tue, 01 Oct 2013 17:11:53 +0900 Message-Id: <20131001081153.4136.72073.sendpatchset@w520> In-Reply-To: <20131001081143.4136.46925.sendpatchset@w520> References: <20131001081143.4136.46925.sendpatchset@w520> Subject: [PATCH 01/10] ARM: shmobile: Introduce r8a7791_add_standard_devices() X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131001_041206_948146_1DC6D618 X-CRM114-Status: UNSURE ( 8.39 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 1.4 (+) Cc: khilman@linaro.org, kuninori.morimoto.gx@renesas.com, arnd@arndb.de, Magnus Damm , ryo.kataoka.wt@renesas.com, hisashi.nakamura.ak@renesas.com, horms@verge.net.au, yoshikazu.fujikawa.ue@renesas.com, olof@lixom.net, linux-arm-kernel@lists.infradead.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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, KHOP_BIG_TO_CC, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=no 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 From: Magnus Damm Introduce the function r8a7791_add_standard_devices() that follows the same style as other mach-shmobile SoC code and allows C version of board code to add on-chip devices. Signed-off-by: Magnus Damm --- arch/arm/mach-shmobile/include/mach/r8a7791.h | 1 + arch/arm/mach-shmobile/setup-r8a7791.c | 5 +++++ 2 files changed, 6 insertions(+) --- 0001/arch/arm/mach-shmobile/include/mach/r8a7791.h +++ work/arch/arm/mach-shmobile/include/mach/r8a7791.h 2013-10-01 16:23:46.000000000 +0900 @@ -1,6 +1,7 @@ #ifndef __ASM_R8A7791_H__ #define __ASM_R8A7791_H__ +void r8a7791_add_standard_devices(void); void r8a7791_add_dt_devices(void); void r8a7791_clock_init(void); void r8a7791_init_early(void); --- 0001/arch/arm/mach-shmobile/setup-r8a7791.c +++ work/arch/arm/mach-shmobile/setup-r8a7791.c 2013-10-01 16:24:35.000000000 +0900 @@ -129,6 +129,11 @@ void __init r8a7791_add_dt_devices(void) r8a7791_register_cmt(00); } +void __init r8a7791_add_standard_devices(void) +{ + r8a7791_add_dt_devices(); +} + void __init r8a7791_init_early(void) { #ifndef CONFIG_ARM_ARCH_TIMER