From patchwork Tue Jun 28 10:51:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 71064 Delivered-To: patch@linaro.org Received: by 10.140.28.4 with SMTP id 4csp1517282qgy; Tue, 28 Jun 2016 03:55:47 -0700 (PDT) X-Received: by 10.98.86.151 with SMTP id h23mr613595pfj.137.1467111347179; Tue, 28 Jun 2016 03:55:47 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h18si19097818pfk.107.2016.06.28.03.55.46; Tue, 28 Jun 2016 03:55:47 -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 S932354AbcF1KyW (ORCPT + 30 others); Tue, 28 Jun 2016 06:54:22 -0400 Received: from mail-wm0-f44.google.com ([74.125.82.44]:37983 "EHLO mail-wm0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752890AbcF1KxO (ORCPT ); Tue, 28 Jun 2016 06:53:14 -0400 Received: by mail-wm0-f44.google.com with SMTP id r201so21633697wme.1 for ; Tue, 28 Jun 2016 03:52:55 -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=Alr2R4i/xq0mOiNTtQie5RgZmMMpfsOt+5JpyA+r038=; b=IF89+HF6w2vicdEbADxaZF5HcODReWD+p8NjtTaLhGYv8tF9wYlF9niC1y+cAhOtK6 MUdJ5FhmzAQQIbtKbfj+DZM6n3bRCzUCXjZM7g+BalIg4mnX0GaFMQqNClSNQvPCLBRl AH9vxo7hL5cYBWkqhTxmk3e+XqP7psgiLfe8s= 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=Alr2R4i/xq0mOiNTtQie5RgZmMMpfsOt+5JpyA+r038=; b=ec/NkOVnPEcuG5nzMdRxwiqOhNWI7+O2XrTVT13XYk5gUWK+tdofF6G+hIYw2eE2nc mMYIW1yS6ehFUTTCe+vOJbUR5lijxfRsdNktbAoKnChOE0HaYLsrVX1AsPcFsQ8mT+SZ Cl3KvFP1kEna2oO6u5DG25X/1lNp86YsEAseOKo6s/ydA+6tLwNQTcnr+7pvcvPiLBl9 GCAMjS1IfQNht+nqn7uN1VtPWF1uDPfvpDk3RW8YQu2IYgHyfeD957N0827QeYmVJZCA jQ5rdZJLZKJbyb3XhKrr++rMkXQWR3NuYEm5FhOZ2MXeWwZwhOo/D1mi2C/9LlGQIArs I8Bw== X-Gm-Message-State: ALyK8tKZuVeAJGI9MdGoppkHCrTPmspADNRuSriSrn+VrKsI6wqoWEIWAiYeXo0D9mo7flRu X-Received: by 10.28.199.205 with SMTP id x196mr2724581wmf.96.1467111175115; Tue, 28 Jun 2016 03:52:55 -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.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 28 Jun 2016 03:52:54 -0700 (PDT) From: Daniel Lezcano To: daniel.lezcano@linaro.org, tglx@linutronix.de Cc: linux-kernel@vger.kernel.org Subject: [PATCH 90/92] clocksource/drivers/timer-atmel-st: Add the COMPILE_TEST option Date: Tue, 28 Jun 2016 12:51:48 +0200 Message-Id: <1467111111-12587-15-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. Signed-off-by: Daniel Lezcano --- drivers/clocksource/Kconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- 1.9.1 diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 1711079..3086e74 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -335,9 +335,12 @@ config ATMEL_PIT def_bool SOC_AT91SAM9 || SOC_SAMA5 config ATMEL_ST - bool + bool "Atmel ST timer support" if COMPILE_TEST + depends on GENERIC_CLOCKEVENTS select CLKSRC_OF select MFD_SYSCON + help + Support for the Atmel ST timer. config CLKSRC_METAG_GENERIC def_bool y if METAG