From patchwork Fri Dec 18 14:17: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: 58723 Delivered-To: patch@linaro.org Received: by 10.112.89.199 with SMTP id bq7csp1066731lbb; Fri, 18 Dec 2015 06:37:34 -0800 (PST) X-Received: by 10.98.8.212 with SMTP id 81mr5655063pfi.165.1450449454797; Fri, 18 Dec 2015 06:37:34 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s14si20314058pfa.173.2015.12.18.06.37.34; Fri, 18 Dec 2015 06:37:34 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932991AbbLROS7 (ORCPT + 29 others); Fri, 18 Dec 2015 09:18:59 -0500 Received: from mail-wm0-f48.google.com ([74.125.82.48]:37686 "EHLO mail-wm0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932934AbbLROSz (ORCPT ); Fri, 18 Dec 2015 09:18:55 -0500 Received: by mail-wm0-f48.google.com with SMTP id p187so66481440wmp.0 for ; Fri, 18 Dec 2015 06:18:54 -0800 (PST) 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=xywSRapVTmmdvPtntgikn9pYh69Sv9Tzld3+A0Tm8wU=; b=JK+qYnDIRdd49bswM7abZaCx6l6dsNRyh9CizekS85AvdR/OncdWm8tiDcm3T/iZrA 3UB9CvFfEXCnIlThSHPjV7XoCSUavcoK8+OvbpqUOsJp7vlop95yp8XbrBIfkWTh9HGm y4kdrXjoEkjXC1q/UIThlUcaYl08u+R3SWAi4= 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=xywSRapVTmmdvPtntgikn9pYh69Sv9Tzld3+A0Tm8wU=; b=SFsu+4XI36MqMRQ7GlIV/l392TzhwQosHu48JjDZ3cff6m97KXDkITbE4b4BZm/f2v C9htpZLVngC595J4OHCYba3K+qut8J9a7eJTVjQKtaWZQ+CxRRUW+edEFLWqSdcRIIyy r7zeyBU1bDBwEIhg1Bf4Kd9ZzROauyq5hLvvzHOi39qU5aMAg2dCAYZs2pbkFjUrt19J ZiqYwWxaCyBKFZZYqcSrkiTOJ1mKNDHHa66SqWGHUkg+M/E4y7Pgfs/q89DyR2/s6/bj ijnGCmKinx88wwbGqCTyhxR/TL4GAyHSoU7tMxAdsxf2xB9MtwwwwLlUfuqfm3AmaGDx CNEA== X-Gm-Message-State: ALoCoQmh0nQ7SwzRbIW9Ez++GHoBqB0W7htgBe4qSTxDFUYgL4pAkuDkY5wfLrAM8nypDpe1e1L8XSlllgVTYWQJB11Yj2w7BQ== X-Received: by 10.28.194.7 with SMTP id s7mr3501775wmf.29.1450448334249; Fri, 18 Dec 2015 06:18:54 -0800 (PST) Received: from localhost.localdomain ([78.210.255.2]) by smtp.gmail.com with ESMTPSA id ql10sm15010027wjc.23.2015.12.18.06.18.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 18 Dec 2015 06:18:53 -0800 (PST) From: Daniel Lezcano To: tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, mingo@kernel.org Subject: [PATCH 19/69] clocksource/drivers/orion: Add the COMPILE_TEST option Date: Fri, 18 Dec 2015 15:17:32 +0100 Message-Id: <1450448302-27429-19-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1450448302-27429-1-git-send-email-daniel.lezcano@linaro.org> References: <5672CB9E.7090707@linaro.org> <1450448302-27429-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 f6e71b7..68a63b2 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -59,9 +59,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