From patchwork Wed Feb 25 11:19:17 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 45041 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f199.google.com (mail-lb0-f199.google.com [209.85.217.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id BCE5920502 for ; Wed, 25 Feb 2015 11:19:31 +0000 (UTC) Received: by lbvp9 with SMTP id p9sf2363011lbv.1 for ; Wed, 25 Feb 2015 03:19:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=/R9V4KhWZdNqfX3gaQ0Rw/M9cuzVQPmAA6tq2vMzFrA=; b=hf1RDj1DgEAtqqEHqQgERN+43BPhJg4eu3adlG92p42cgVK4GLH0CXx8b3WeJehDiK ol5hRj6Xga0iNrpA0iw3mtiRmz5N/6D0rHCG4GynKTvw4WOSOFSmvS3iBhLI7YUNJZfb q2wvkBX3AwNamCNYgP+l+77vKdN3DRKwvfl6y/iGKwzHg4G0v8lNWVZDTv5CX8iMr0ox BBO01tm6duUAKTcF7yanrP1RZQoAwvZzX53mqIVgpJnTej0z6RmdSeKKJUGayjSOV0G7 aZCTi5NtBVkFxWQNB9hcCsjN+5oCCZdzJ+UP5lCBKaCR4xLnA9QwwbGB+oBYUlRqd874 Q+bg== X-Gm-Message-State: ALoCoQnYHFfLT2wEHj42fw508Jqh5L53Pjuxsv4GC9dbh3okl7gRbMlQnsZ5IC4UoXyH9uiB2Eki X-Received: by 10.112.168.104 with SMTP id zv8mr384763lbb.10.1424863170729; Wed, 25 Feb 2015 03:19:30 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.6.38 with SMTP id x6ls475279lax.63.gmail; Wed, 25 Feb 2015 03:19:30 -0800 (PST) X-Received: by 10.112.163.229 with SMTP id yl5mr2348999lbb.60.1424863170539; Wed, 25 Feb 2015 03:19:30 -0800 (PST) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com. [209.85.215.43]) by mx.google.com with ESMTPS id yi11si17798540lab.138.2015.02.25.03.19.30 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Feb 2015 03:19:30 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) client-ip=209.85.215.43; Received: by labgf13 with SMTP id gf13so3091928lab.9 for ; Wed, 25 Feb 2015 03:19:30 -0800 (PST) X-Received: by 10.152.115.136 with SMTP id jo8mr2459194lab.32.1424863170320; Wed, 25 Feb 2015 03:19:30 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp2549469lbj; Wed, 25 Feb 2015 03:19:29 -0800 (PST) X-Received: by 10.66.237.35 with SMTP id uz3mr4719612pac.46.1424863168504; Wed, 25 Feb 2015 03:19:28 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pr2si49307392pdb.188.2015.02.25.03.19.26; Wed, 25 Feb 2015 03:19:28 -0800 (PST) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753288AbbBYLTX (ORCPT + 28 others); Wed, 25 Feb 2015 06:19:23 -0500 Received: from mail-we0-f182.google.com ([74.125.82.182]:40267 "EHLO mail-we0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753144AbbBYLTV (ORCPT ); Wed, 25 Feb 2015 06:19:21 -0500 Received: by wesx3 with SMTP id x3so2903642wes.7 for ; Wed, 25 Feb 2015 03:19:20 -0800 (PST) X-Received: by 10.194.48.12 with SMTP id h12mr5522069wjn.74.1424863160642; Wed, 25 Feb 2015 03:19:20 -0800 (PST) Received: from mai.lan (135-224-190-109.dsl.ovh.fr. [109.190.224.135]) by mx.google.com with ESMTPSA id m4sm24687356wik.20.2015.02.25.03.19.18 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 Feb 2015 03:19:19 -0800 (PST) From: Daniel Lezcano To: mingo@kernel.org, tglx@linutronix.de Cc: matthias.bgg@gmail.com, robert.jarzmik@free.fr, linux@roeck-us.net, linux@rempel-privat.de, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] clockevents: asm9260: Fix compilation error with sparc/sparc64 allyesconfig Date: Wed, 25 Feb 2015 12:19:17 +0100 Message-Id: <1424863159-20620-1-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <54EDAF91.8060308@linaro.org> References: <54EDAF91.8060308@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: daniel.lezcano@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The Kconfig options for the asm9260 timer is wrong as it can be selected by another platform with allyes config and thus leading to a compilation failure as some non arch related code is pulled by the compilation. Fix this by having the platform Kconfig to select the timer as it is done for the others drivers. Signed-off-by: Daniel Lezcano Acked-by: Guenter Roeck Acked-by: Oleksij Rempel Conflicts: drivers/clocksource/Kconfig --- arch/arm/mach-asm9260/Kconfig | 2 ++ drivers/clocksource/Kconfig | 16 +++++----------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/arch/arm/mach-asm9260/Kconfig b/arch/arm/mach-asm9260/Kconfig index 8423be7..5224120 100644 --- a/arch/arm/mach-asm9260/Kconfig +++ b/arch/arm/mach-asm9260/Kconfig @@ -2,5 +2,7 @@ config MACH_ASM9260 bool "Alphascale ASM9260" depends on ARCH_MULTI_V5 select CPU_ARM926T + select ASM9260_TIMER + select GENERIC_CLOCKEVENTS help Support for Alphascale ASM9260 based platform. diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 1c2506f..68161f7 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -63,6 +63,11 @@ config VT8500_TIMER config CADENCE_TTC_TIMER bool +config ASM9260_TIMER + bool + select CLKSRC_MMIO + select CLKSRC_OF + config CLKSRC_NOMADIK_MTU bool depends on (ARCH_NOMADIK || ARCH_U8500) @@ -245,15 +250,4 @@ config CLKSRC_PXA help This enables OST0 support available on PXA and SA-11x0 platforms. - -config ASM9260_TIMER - bool "Alphascale ASM9260 timer driver" - depends on GENERIC_CLOCKEVENTS - select CLKSRC_MMIO - select CLKSRC_OF - default y if MACH_ASM9260 - help - This enables build of a clocksource and clockevent driver for - the 32-bit System Timer hardware available on a Alphascale ASM9260. - endmenu