From patchwork Thu Aug 6 15:32:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 52010 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by patches.linaro.org (Postfix) with ESMTPS id D0EA022A15 for ; Thu, 6 Aug 2015 15:32:47 +0000 (UTC) Received: by lbbyj8 with SMTP id yj8sf24934493lbb.3 for ; Thu, 06 Aug 2015 08:32:46 -0700 (PDT) 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=oZMbdepGRpsU1JpVcPPt+rzBy1AgdGe3xQgVTqnIxls=; b=mmyrIemOrohituXYDN3IfB9Le4XGl26sqm8bbuoZnraia/ZUqHBM6zMdQ5HBt6xgw6 BfnAkaSLJTueNPTTNhEuxrmYmIbqGV2u3lKUt5lLb/5tWhvYy6/02awNUKOAyYVW2bWp SvmWGCZQ5dCe9qYLZGaeTCeJxd/07Mu3JPuVBzsumwhtBcmn3RFK+fh75s+RRQleJc2G nxu8Zdvjc1CaxfPev+RQbmq4ZxJm/hZNlgLNE+iuSCcW4CwI2JogcV3E3vxTqMVrjvkH zqTlazkuqGC0HwBXupRvn5/VSPArrl8ZP4H2hAEFRkA6OUSfWq9QisB5Us6t5flLALuj uDOQ== X-Gm-Message-State: ALoCoQlluHfTTrp4g5/3to0O3GePeK6c8KWSJJZEBVKQRC7JhzDyxnbRAeyrXpS35xedk+O0eKUW X-Received: by 10.152.1.105 with SMTP id 9mr681502lal.3.1438875166851; Thu, 06 Aug 2015 08:32:46 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.43.51 with SMTP id t19ls154575lal.22.gmail; Thu, 06 Aug 2015 08:32:46 -0700 (PDT) X-Received: by 10.152.44.230 with SMTP id h6mr2642459lam.21.1438875166405; Thu, 06 Aug 2015 08:32:46 -0700 (PDT) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id bc7si5110946lbc.144.2015.08.06.08.32.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Aug 2015 08:32:46 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by labjt7 with SMTP id jt7so33781085lab.0 for ; Thu, 06 Aug 2015 08:32:46 -0700 (PDT) X-Received: by 10.152.6.69 with SMTP id y5mr2645399lay.72.1438875165975; Thu, 06 Aug 2015 08:32:45 -0700 (PDT) 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.7.198 with SMTP id l6csp1018125lba; Thu, 6 Aug 2015 08:32:45 -0700 (PDT) X-Received: by 10.107.11.32 with SMTP id v32mr2983601ioi.95.1438875164014; Thu, 06 Aug 2015 08:32:44 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id oe10si12152522pbb.101.2015.08.06.08.32.40; Thu, 06 Aug 2015 08:32:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932234AbbHFPci (ORCPT + 28 others); Thu, 6 Aug 2015 11:32:38 -0400 Received: from mail-wi0-f170.google.com ([209.85.212.170]:35761 "EHLO mail-wi0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753926AbbHFPch (ORCPT ); Thu, 6 Aug 2015 11:32:37 -0400 Received: by wibxm9 with SMTP id xm9so27577447wib.0 for ; Thu, 06 Aug 2015 08:32:36 -0700 (PDT) X-Received: by 10.194.2.228 with SMTP id 4mr4291510wjx.146.1438875156152; Thu, 06 Aug 2015 08:32:36 -0700 (PDT) Received: from mai.telefonica.net (185.Red-213-96-199.staticIP.rima-tde.net. [213.96.199.185]) by smtp.gmail.com with ESMTPSA id ej5sm10057510wjd.22.2015.08.06.08.32.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 06 Aug 2015 08:32:35 -0700 (PDT) From: Daniel Lezcano To: mingo@kernel.org, tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, Maxime Coquelin , Paul Gortmaker , kbuild test robot Subject: [PATCH 1/2] clockevents/drivers/timer-stm32: Improve dependencies of timer-stm32 Date: Thu, 6 Aug 2015 17:32:05 +0200 Message-Id: <1438875126-12596-1-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <55C37D4A.6000302@linaro.org> References: <55C37D4A.6000302@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.45 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: , From: Maxime Coquelin This patch improves the build coverage with COMPILE_TEST so it is not only limited to ARM builds. The fix consists in making the STM32 timer depend on GENERIC_CLOCKEVENTS. Reported-by: kbuild test robot Cc: Paul Gortmaker Cc: Daniel Lezcano Cc: Thomas Gleixner Signed-off-by: Maxime Coquelin Signed-off-by: Daniel Lezcano --- drivers/clocksource/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 4e57730..e110ec3 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -112,8 +112,8 @@ config CLKSRC_LPC32XX select CLKSRC_OF config CLKSRC_STM32 - bool "Clocksource for STM32 SoCs" if !ARCH_STM32 - depends on OF && ARM && (ARCH_STM32 || COMPILE_TEST) + bool "Clocksource for STM32 SoCs" if COMPILE_TEST + depends on OF && GENERIC_CLOCKEVENTS select CLKSRC_MMIO config ARM_ARCH_TIMER