From patchwork Tue Jun 28 10:51:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 71065 Delivered-To: patch@linaro.org Received: by 10.140.28.4 with SMTP id 4csp1517343qgy; Tue, 28 Jun 2016 03:56:02 -0700 (PDT) X-Received: by 10.98.193.1 with SMTP id i1mr682963pfg.78.1467111362506; Tue, 28 Jun 2016 03:56:02 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u3si26172094pfu.158.2016.06.28.03.56.01; Tue, 28 Jun 2016 03:56:02 -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; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752924AbcF1KyV (ORCPT + 30 others); Tue, 28 Jun 2016 06:54:21 -0400 Received: from mail-wm0-f47.google.com ([74.125.82.47]:38014 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752907AbcF1KxO (ORCPT ); Tue, 28 Jun 2016 06:53:14 -0400 Received: by mail-wm0-f47.google.com with SMTP id r201so21635121wme.1 for ; Tue, 28 Jun 2016 03:52:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=qBz2ZEIgnt2RODvIAEH+wRCIwpoPYWny/E6SXASysgk=; b=IOthKAAXRjR0iIl9JqN4LjaWWigm/e1Wj6dOlV4Jmb2dDt5IOdRig8juB/3I0Vqitx 4nKoVhvoMCKS4UQuo+e3spTDYiuZbUcTz+SILPGQKB/u5jx99P8nAYOlGvOBSenPmXxY +OdK8BV6gbk2NS4BW5WB9BaWKbMROUdsoHzuM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=qBz2ZEIgnt2RODvIAEH+wRCIwpoPYWny/E6SXASysgk=; b=S7F8mwK446UM5p/P0BNy7ykBZG4jSQmq4wG17/ZhYNYOB2ev264qtNYb1r5ltOZofn Wtz/KlUJyplgIxbeZbsiVbgMClgwfA2Gu7zYYRsuQG2EAI1Ak0/MQEh4Rk/WCiqByJSX 4ZNkBhatevHA47PDx1dQn+5czKsMKz8iiZMHxURyLBity11JLi53rNDfym7STmebd+dP 7OhCumBJr90qQJcya3Y9cg4yVcEnU7KAfIjLZZPYifulh7Qn2jaxqpwzJcRLra89LDOL d6WrGGTVRY+ezLglHelNn+6BZSTI5vj5cVK8P8tO/th82SDjak7sE9f3CBclIcGkk3GH 5n1A== X-Gm-Message-State: ALyK8tJM1cjgyXpmKoRM2C9VtlyBgUO0oiSxk7hWlRDuVHE596OulPcPx3JLqC9uU9oEQaVm X-Received: by 10.28.154.144 with SMTP id c138mr2976744wme.63.1467111177365; Tue, 28 Jun 2016 03:52:57 -0700 (PDT) Received: from localhost.localdomain (sju31-1-78-210-255-2.fbx.proxad.net. [78.210.255.2]) by smtp.gmail.com with ESMTPSA id x194sm1577615wmf.13.2016.06.28.03.52.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 28 Jun 2016 03:52:56 -0700 (PDT) From: Daniel Lezcano To: daniel.lezcano@linaro.org, tglx@linutronix.de Cc: linux-kernel@vger.kernel.org Subject: [PATCH 91/92] clocksource/drivers/versatile: Add the COMPILE_TEST option Date: Tue, 28 Jun 2016 12:51:49 +0200 Message-Id: <1467111111-12587-16-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1467111111-12587-1-git-send-email-daniel.lezcano@linaro.org> References: <577251A4.7030508@linaro.org> <1467111111-12587-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Change the Kconfig option logic to fullfil with the current approach, allowing the user to compile the driver on different platforms. The current option let the user to select the clocksource or not. The Kconfig option policy is to let the platform to select the timer automatically. Add the COMPILE_TEST option, so the prompt to select the driver will be showed only when COMPILE_TEST is set and will let this driver to compile on different platform, thus increasing the compilation test coverage. Signed-off-by: Daniel Lezcano --- drivers/clocksource/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 1.9.1 diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 3086e74..7acdf3d 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -453,8 +453,8 @@ config CLKSRC_QCOM Qualcomm SoCs. config CLKSRC_VERSATILE - bool "ARM Versatile (Express) reference platforms clock source" - depends on PLAT_VERSATILE && GENERIC_SCHED_CLOCK && !ARCH_USES_GETTIMEOFFSET + bool "ARM Versatile (Express) reference platforms clock source" if COMPILE_TEST + depends on GENERIC_SCHED_CLOCK && !ARCH_USES_GETTIMEOFFSET select CLKSRC_OF default y if MFD_VEXPRESS_SYSREG help