From patchwork Mon Sep 30 09:15:31 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Andrzej Siewior X-Patchwork-Id: 2963111 Return-Path: X-Original-To: patchwork-linux-omap@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 890629F288 for ; Mon, 30 Sep 2013 09:15:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F32D3201F8 for ; Mon, 30 Sep 2013 09:15:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A6FD4201C8 for ; Mon, 30 Sep 2013 09:15:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754531Ab3I3JPi (ORCPT ); Mon, 30 Sep 2013 05:15:38 -0400 Received: from www.linutronix.de ([62.245.132.108]:56914 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752369Ab3I3JPi (ORCPT ); Mon, 30 Sep 2013 05:15:38 -0400 Received: from localhost ([127.0.0.1] helo=localhost.localdomain) by Galois.linutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1VQZZo-0005LZ-MA; Mon, 30 Sep 2013 11:15:37 +0200 From: Sebastian Andrzej Siewior To: Tony Lindgren Cc: linux-omap@vger.kernel.org (open list:OMAP SUPPORT), Sebastian Andrzej Siewior , R Sricharan , Rajendra Nayak Subject: [PATCH] ARM: OMAP2+: timer: build with DRA7xx enable but without OMAP5 Date: Mon, 30 Sep 2013 11:15:31 +0200 Message-Id: <1380532531-21021-1-git-send-email-bigeasy@linutronix.de> X-Mailer: git-send-email 1.8.4.rc3 X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1, SHORTCIRCUIT=-0.0001, URIBL_BLOCKED=0.001 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 with DRA7xx and without OMAP5 selected we get |arch/arm/mach-omap2/built-in.o:(.arch.info.init+0x40): undefined reference to `omap5_realtime_timer_init' |make[1]: *** [vmlinux] Error 1 since ARM: DRA7: board-generic: Add basic DT support ("439bf39e"). Cc: Tony Lindgren Cc: R Sricharan Cc: Rajendra Nayak Signed-off-by: Sebastian Andrzej Siewior --- arch/arm/mach-omap2/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c index fa74a06..4fd1816 100644 --- a/arch/arm/mach-omap2/timer.c +++ b/arch/arm/mach-omap2/timer.c @@ -628,7 +628,7 @@ void __init omap4_local_timer_init(void) #endif /* CONFIG_HAVE_ARM_TWD */ #endif /* CONFIG_ARCH_OMAP4 */ -#ifdef CONFIG_SOC_OMAP5 +#if defined(CONFIG_SOC_OMAP5) || defined(CONFIG_SOC_DRA7XX) void __init omap5_realtime_timer_init(void) { omap4_sync32k_timer_init();