From patchwork Thu Oct 29 22:52:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 55802 Delivered-To: patch@linaro.org Received: by 10.112.61.134 with SMTP id p6csp833578lbr; Thu, 29 Oct 2015 15:53:25 -0700 (PDT) X-Received: by 10.66.222.232 with SMTP id qp8mr4803220pac.88.1446159205207; Thu, 29 Oct 2015 15:53:25 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gr2si5737740pbc.174.2015.10.29.15.53.24; Thu, 29 Oct 2015 15:53:25 -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; 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 S1030345AbbJ2WxW (ORCPT + 28 others); Thu, 29 Oct 2015 18:53:22 -0400 Received: from mail-wi0-f172.google.com ([209.85.212.172]:36785 "EHLO mail-wi0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030329AbbJ2WxT (ORCPT ); Thu, 29 Oct 2015 18:53:19 -0400 Received: by wicfx6 with SMTP id fx6so239511545wic.1 for ; Thu, 29 Oct 2015 15:53:18 -0700 (PDT) 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=lwX4WdYWzT/DKASxpBofVGTCq3v8ZbCu1I5uD5FV9h0=; b=dWOkHrcwcPu65pYs1yDfd85rPdFaRxvJzhrVevpiCNRng2h7GAYqjhY2WdjioqcILk aJ7tZYroQhFu3bxqjryF1k5xWZRDALBq0QKb0oC097pVO4KinmKR9e6yhsn0x6uicR2n oEuqX/EgEx52lcVs7tRfTEGp3OMP7Xa8/3+lp9svo0dDus0fzJZ2Ess38DMKUfCZBsd0 aL0+WqlgXyMUzemDF8sucTH/lfVxorCt8V/2tgvcyFJ6ZPyMkxP+5/ihRzsXxZxkUEJ+ jok3kHrfDaYkYCkjaNDapdsqM6nlbUjSmhBxSpQ1GE+KqMcn2Q/uSUxIcyw9qZ3eApai kRBw== 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=lwX4WdYWzT/DKASxpBofVGTCq3v8ZbCu1I5uD5FV9h0=; b=l8VmCFbjIzh84oqeAeScLgoZhnbk/9wqqomBEZKngtUIQkp0u00n70cBp1qOxDJhTo EnTgr0+rJRr47++AfS+yqB+WINd8APlL2Af9RVTnj/W8+V2L1iPLhcsK3mdJc4snH7Z4 pwxsDj4RT8UzxpIunOtR0jtrgUcdwGZ/Gr95HXaKPoUH6PAr9Ekso3HC47He+KBvw1NE 2tAAcVTaIhXWB+LX7Hh2nZv8d95lGipkFk3KeFK2fUnzNlOseaz7G8BjmVRJjYyTgMYB ukK3sVfkMjw40EFHyWAKzz3r8KNXye1nIcpyIk3A/nxntY8Es5XDMgjNhxa5TM3q1t58 f2eQ== X-Gm-Message-State: ALoCoQkecqj6JrdwBtELu4aRfF0W0Wy8JpUkcRGZ/k0/pEDIydQaShjbiQ5qx51SNt0tsnU/EI2w X-Received: by 10.194.175.100 with SMTP id bz4mr5016407wjc.123.1446159198377; Thu, 29 Oct 2015 15:53:18 -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 jh4sm4005701wjb.33.2015.10.29.15.53.17 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 29 Oct 2015 15:53:17 -0700 (PDT) From: Daniel Lezcano To: tglx@linutronix.de Cc: john.stultz@linaro.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/7] clocksource/drivers/qcom: Make COMPILE_TEST enabled for ARM architecture Date: Thu, 29 Oct 2015 23:52:38 +0100 Message-Id: <1446159166-20384-2-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1446159166-20384-1-git-send-email-daniel.lezcano@linaro.org> References: <1446159166-20384-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 In order to be consistent with the rest of the drivers compilation, let's introduce the COMPILE_TEST option. Unfortunately, the delay.h code is not portable, so the compilation test coverage will be restricted to the ARM architecture. Signed-off-by: Daniel Lezcano --- drivers/clocksource/Kconfig | 7 ++++++- 1 file changed, 6 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 50b68bc..d9e263c 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -261,7 +261,12 @@ config EM_TIMER_STI such as EMEV2 from former NEC Electronics. config CLKSRC_QCOM - bool + bool "Qualcomm MSM timer" if COMPILE_TEST + depends on ARM + select CLKSRC_OF + help + This enables the clocksource and the per CPU clockevent driver for the + Qualcomm SoCs. config CLKSRC_VERSATILE bool "ARM Versatile (Express) reference platforms clock source"