From patchwork Mon Nov 2 12:56:32 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 55894 Delivered-To: patch@linaro.org Received: by 10.112.61.134 with SMTP id p6csp1256738lbr; Mon, 2 Nov 2015 05:04:42 -0800 (PST) X-Received: by 10.66.254.106 with SMTP id ah10mr27022751pad.65.1446469481905; Mon, 02 Nov 2015 05:04:41 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id sf2si34879167pbc.162.2015.11.02.05.04.41; Mon, 02 Nov 2015 05:04:41 -0800 (PST) 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; 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; dkim=neutral (body hash did not verify) header.i=@linaro_org.20150623.gappssmtp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754066AbbKBNEk (ORCPT + 28 others); Mon, 2 Nov 2015 08:04:40 -0500 Received: from mail-wm0-f46.google.com ([74.125.82.46]:34279 "EHLO mail-wm0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753263AbbKBM5l (ORCPT ); Mon, 2 Nov 2015 07:57:41 -0500 Received: by wmff134 with SMTP id f134so58181039wmf.1 for ; Mon, 02 Nov 2015 04:57:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro_org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=BkB4vmAyp3vo6B9RP457fXe3DTAO+8be7dmyod139iQ=; b=FDLqAgpjESQO/OsLtLelTpRGbyiS0+UdyN7f+QkUYb6L0B1Ha7QhACiQ1hQ5p4F4kV 3vZNjEO9abpXGFX0sysHPizU3+6GLYFKVM2GwzzV2acmxbmzysZaikHnrfNs0F3F1+SU ynXZdn5LU5nWQJwZWUSK6xB48INvSVYb7VkYqoDiY6prYDtKHP76PTIHND/AS33vQ4Io AdNoPv7ej1ZrhvfqXXjSRMGJyPys2ZNdRIUd13XYkz1dGZY6wSJ5I0XnCpYwYSupDyVg rGN4v7ua2Fl+1F0FhiRQ1WjQl39/I+Z0T8Q2fBii+zJK6UsMFz/+GDuytmlFm24HHeWa KfKw== 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=BkB4vmAyp3vo6B9RP457fXe3DTAO+8be7dmyod139iQ=; b=m0qNOJK0m81rismq0JkQ2cV1Wtt2Fk5GPOI/V6/4stO5+wi8a02lBMThhG6bMOBrrj 4mWkRCQGB8TAHRndy0StAt6aeQMk7BUO/reSVv67gOQOi5K6+Ls0xAlckXgkDhyviJav sUszxh634IpuQh4SoUfboUEikRiV9NffI9frjadrWduy9YaucJhcxv+WsqBE+F2KIPDw dLPR9TuUizyfoNzJBOeQEE0sa2SptZ8q7lfN6da8RA4oj0JvP2PafaGwJh2XWhHNV/SH 6U/pvczRmoDcrlq9l9ozxuoOpf657lNhbezI/euTQv3dVZsCPMSEgnIN1uioYjU3FZeP 3y4w== X-Gm-Message-State: ALoCoQlEeUTPauTwBOIDbC42H3Y5fafpnMyENoS05usxe+jcntlIQRmh23QzSVSMNeA0kf3RLnkn X-Received: by 10.28.19.78 with SMTP id 75mr14286940wmt.101.1446469060172; Mon, 02 Nov 2015 04:57:40 -0800 (PST) Received: from localhost.localdomain ([78.210.255.2]) by smtp.gmail.com with ESMTPSA id it4sm22263633wjb.0.2015.11.02.04.57.39 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 02 Nov 2015 04:57:39 -0800 (PST) From: Daniel Lezcano To: tglx@linutronix.de Cc: john.stultz@linaro.org, linux-kernel@vger.kernel.org, arnd@arndb.de Subject: [PATCH 04/22] clocksource/drivers/rockchip: Add COMPILE_TEST option Date: Mon, 2 Nov 2015 13:56:32 +0100 Message-Id: <1446469011-22710-4-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1446469011-22710-1-git-send-email-daniel.lezcano@linaro.org> References: <1446469011-22710-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 Increase the compilation test coverage by adding the COMPILE_TEST option. Due to the dsb() usage in the driver, this driver is only compilable on ARM and ARM64. Signed-off-by: Daniel Lezcano --- drivers/clocksource/Kconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index dc79fde..6f85622 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -30,8 +30,11 @@ config DW_APB_TIMER_OF select CLKSRC_OF config ROCKCHIP_TIMER - bool + bool "Rockchip timer driver" if COMPILE_TEST + depends on ARM || ARM64 select CLKSRC_OF + help + Enables the support for the rockchip timer driver. config ARMADA_370_XP_TIMER bool