From patchwork Sat May 31 12:10:12 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 4275331 Return-Path: X-Original-To: patchwork-linux-arm@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 266A09F1D6 for ; Sat, 31 May 2014 12:13:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 550A1202E5 for ; Sat, 31 May 2014 12:13:30 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 06A3F20253 for ; Sat, 31 May 2014 12:13:29 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wqi82-0003E7-CP; Sat, 31 May 2014 12:11:14 +0000 Received: from smtp32.i.mail.ru ([94.100.177.92]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wqi7t-000392-HZ for linux-arm-kernel@lists.infradead.org; Sat, 31 May 2014 12:11:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=zL5Oin/ldc59q/JCb3dNReixcH0vKdz5kbGfisPb1kc=; b=lE9LwNpjVZz9B8VdsvFUqgY//2rrhjYzFewjldNyMBn4qXa4L8zIfocJ3PLkDQQxoE+TBbeeZvuvR8NJfz+/MFaPS7qEKeETg+WijMX5SfeG/xaIPo6rVMgLqOU5qMf5TK54oZbWk3LmM8tpV1tDXYMBYYD0RcBW+9jE3lg6zrw=; Received: from [5.18.98.7] (port=56821 helo=shc.zet) by smtp32.i.mail.ru with esmtpa (envelope-from ) id 1Wqi7V-0004eX-Ql; Sat, 31 May 2014 16:10:42 +0400 From: Alexander Shiyan To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 4/5] ARM: clps711x: clep7312: Add common devices initialization Date: Sat, 31 May 2014 16:10:12 +0400 Message-Id: <1401538213-16106-4-git-send-email-shc_work@mail.ru> X-Mailer: git-send-email 1.8.5.5 In-Reply-To: <1401538213-16106-1-git-send-email-shc_work@mail.ru> References: <1401538213-16106-1-git-send-email-shc_work@mail.ru> X-Mras: Ok X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140531_051106_203010_817EB06F X-CRM114-Status: UNSURE ( 9.98 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.1 (/) Cc: Olof Johansson , Kevin Hilman , Russell King , Alexander Shiyan , Arnd Bergmann 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=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 Add initialization of commonly used devices to the CLEP7312 generic board. Signed-off-by: Alexander Shiyan --- arch/arm/mach-clps711x/board-clep7312.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-clps711x/board-clep7312.c b/arch/arm/mach-clps711x/board-clep7312.c index 1f3b403..dbff8c6 100644 --- a/arch/arm/mach-clps711x/board-clep7312.c +++ b/arch/arm/mach-clps711x/board-clep7312.c @@ -24,6 +24,7 @@ #include #include "common.h" +#include "devices.h" static void __init fixup_clep7312(struct tag *tags, char **cmdline, struct meminfo *mi) @@ -40,5 +41,6 @@ MACHINE_START(CLEP7212, "Cirrus Logic 7212/7312") .map_io = clps711x_map_io, .init_irq = clps711x_init_irq, .init_time = clps711x_timer_init, + .init_machine = clps711x_devices_init, .restart = clps711x_restart, MACHINE_END