From patchwork Mon Feb 23 19:00:51 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 44912 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f198.google.com (mail-we0-f198.google.com [74.125.82.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id F294521570 for ; Mon, 23 Feb 2015 19:01:06 +0000 (UTC) Received: by wesk11 with SMTP id k11sf13495844wes.3 for ; Mon, 23 Feb 2015 11:01:06 -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=6Nz+pnkaZHSiE9EGO1oWGRwUSkfkk1vS+zGFgrJRNRc=; b=dWcbgGdIPBmg5SGz1Aca1LEZmL3aYuDQIwwcRdk7+g18tidgaTCIxcWr1mJLtVlKkv 2EThv7ZAywfwLxgzr55IUAzv3tcEjN5DrBNYRxiMPDY3JYoLu4i7I27HCT8q2iiEQoCo Z3MeCoJSKiGzKUFo9OeWtfj5tcmEBMycDzX1e0pkvtOINny7BDa0p8qzpxcuQyX9VVKp g33kpHDD8L7VrGH4wxvb96G6lnPelLCOnhSD2P7Y6f21QCOrQwaO7uz6b3+fJYysaU1i ZSxkAdoWlWrU2F9UgrJ+Je4347mp6y+nXbuRDQSup4jt0lf5EWsNI22Bno/75qX9Q908 ugrw== X-Gm-Message-State: ALoCoQm11h1YMDQItC9z2WqogmaL8uHEmuYoOK7kyXjd8Xv5qWErssA2bb6mN5iu0me6i3cpHz0e X-Received: by 10.112.131.106 with SMTP id ol10mr1587889lbb.20.1424718066203; Mon, 23 Feb 2015 11:01:06 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.37.42 with SMTP id v10ls521083laj.56.gmail; Mon, 23 Feb 2015 11:01:05 -0800 (PST) X-Received: by 10.152.197.34 with SMTP id ir2mr8560112lac.36.1424718065802; Mon, 23 Feb 2015 11:01:05 -0800 (PST) Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com. [209.85.217.173]) by mx.google.com with ESMTPS id uj9si24415703lbb.97.2015.02.23.11.01.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Feb 2015 11:01:05 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.173 as permitted sender) client-ip=209.85.217.173; Received: by lbdu10 with SMTP id u10so20492894lbd.7 for ; Mon, 23 Feb 2015 11:01:05 -0800 (PST) X-Received: by 10.112.64.193 with SMTP id q1mr11205060lbs.88.1424718065678; Mon, 23 Feb 2015 11:01:05 -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 h5csp1453726lbj; Mon, 23 Feb 2015 11:01:04 -0800 (PST) X-Received: by 10.67.24.35 with SMTP id if3mr21361187pad.99.1424718063460; Mon, 23 Feb 2015 11:01:03 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fd2si18307824pab.163.2015.02.23.11.01.02; Mon, 23 Feb 2015 11:01:03 -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 S1753255AbbBWTA6 (ORCPT + 28 others); Mon, 23 Feb 2015 14:00:58 -0500 Received: from mail-we0-f179.google.com ([74.125.82.179]:34294 "EHLO mail-we0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753217AbbBWTAz (ORCPT ); Mon, 23 Feb 2015 14:00:55 -0500 Received: by wesq59 with SMTP id q59so20765045wes.1 for ; Mon, 23 Feb 2015 11:00:54 -0800 (PST) X-Received: by 10.194.19.197 with SMTP id h5mr24535342wje.109.1424718053833; Mon, 23 Feb 2015 11:00:53 -0800 (PST) Received: from mai.lan (135-224-190-109.dsl.ovh.fr. [109.190.224.135]) by mx.google.com with ESMTPSA id s19sm17086064wik.18.2015.02.23.11.00.52 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 23 Feb 2015 11:00:53 -0800 (PST) From: Daniel Lezcano To: linux@roeck-us.net, linux-kernel@vger.kernel.org Cc: linux@rempel-privat.de, tglx@linutronix.de Subject: [PATCH] clockevents: asm9260: Fix compilation error with sparc/sparc64 allyesconfig Date: Mon, 23 Feb 2015 20:00:51 +0100 Message-Id: <1424718051-18946-1-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <20150223175716.GA22430@roeck-us.net> References: <20150223175716.GA22430@roeck-us.net> 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.217.173 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 --- 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 72a3827..f9c1995 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -60,6 +60,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) @@ -235,15 +240,4 @@ config CLKSRC_MIPS_GIC bool depends on MIPS_GIC select CLKSRC_OF - -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