From patchwork Mon Nov 2 12:56:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 55893 Delivered-To: patch@linaro.org Received: by 10.112.61.134 with SMTP id p6csp1256526lbr; Mon, 2 Nov 2015 05:04:19 -0800 (PST) X-Received: by 10.66.100.226 with SMTP id fb2mr27241855pab.72.1446469459661; Mon, 02 Nov 2015 05:04:19 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pu7si34886496pbb.156.2015.11.02.05.04.19; Mon, 02 Nov 2015 05:04:19 -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 S1754020AbbKBNEQ (ORCPT + 28 others); Mon, 2 Nov 2015 08:04:16 -0500 Received: from mail-wm0-f52.google.com ([74.125.82.52]:33090 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753194AbbKBM5p (ORCPT ); Mon, 2 Nov 2015 07:57:45 -0500 Received: by wmeg8 with SMTP id g8so58345767wme.0 for ; Mon, 02 Nov 2015 04:57:44 -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=XLzNA9VfTSI2sFiy8D2yX288dVkYSeOkpLuU1QGU7ms=; b=yXNsOMWieZNNOogTUkb7GqN5j3dF34N0r5ClLvQ+PVrLbSXFsr7uZUFtF4ghs68qDR sidUynxtPSRNUkGkKcV8AYVenXd7sUZ2LPLLH/Hm13BkymEaJ8emSSiNqc6gFrwusAS0 GqMukNJwW1EzjL9Yyq246Uwtah1ePAGna38m3EUKkLZme5Sa+SClM+KQeqPuw5zuLhP3 Bhwdb7ykr81V8DRMWvY1INhY8kf27LNkjI6O+ym1XSdkHQ9L7m1YwOGXnWH2q3YW0xEa FUpjggtPyXg2j2GNRE/NBptN6mWdGmoj5GQtwrc2xzheXVDFxg0n860kZvqyftOEFtEV I9XQ== 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=XLzNA9VfTSI2sFiy8D2yX288dVkYSeOkpLuU1QGU7ms=; b=Cgy9YN68OnFs5NDkltJD7Cm4vFfhVlAgm4DhBABMCNgN8k7zEhRAUqSq+eSZokGBpT 5+t6eLWneei/9p0wEpwsYSAS5EeDMYUX6I94gVOoHqaFZl/sQkm9lEio66iGH7BaKVZE HCm3uSB76KRW+n6VMmLvzxArJ0/RV54Xc4f0wi3M+eNxG4ClX8e8FN/cVEyfJENVj2UI LhTbvtAlyCKVMOEjCbo/5edzOq0eZpdudx5ZWowR7kSNdrdENEeiVOo3HBVEEEID+I1d DEX9EAnwW77VY4GOpu/uC0JHx/XJp0YMYAcuSjNwRn/091war9QstFRiNlxjlRR2rlum MwlA== X-Gm-Message-State: ALoCoQlaTIBYYn4JaepEH9gRrSLRhcfPxrnJD2EvcmTKkH43Cj4Qyk/5u3M3YTYTBuxLn3NyjZYS X-Received: by 10.28.88.135 with SMTP id m129mr14217656wmb.67.1446469063954; Mon, 02 Nov 2015 04:57:43 -0800 (PST) Received: from localhost.localdomain ([78.210.255.2]) by smtp.gmail.com with ESMTPSA id it4sm22263633wjb.0.2015.11.02.04.57.42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 02 Nov 2015 04:57:43 -0800 (PST) From: Daniel Lezcano To: tglx@linutronix.de Cc: john.stultz@linaro.org, linux-kernel@vger.kernel.org, arnd@arndb.de Subject: [PATCH 07/22] clocksource/drivers/orion: Add the COMPILE_TEST option Date: Mon, 2 Nov 2015 13:56:35 +0100 Message-Id: <1446469011-22710-7-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. The driver is using the atomic_io API which is not portable, so the compilation is restricted to ARM only. 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 2c76c2d..8a80221 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -50,9 +50,12 @@ config MESON6_TIMER Enables the support for the Meson6 timer driver. config ORION_TIMER + bool "Orion timer driver" if COMPILE_TEST + depends on ARM select CLKSRC_OF select CLKSRC_MMIO - bool + help + Enables the support for the Orion timer driver config SUN4I_TIMER select CLKSRC_MMIO