From patchwork Mon Jun 27 13:58:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 9200655 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6648A607D3 for ; Mon, 27 Jun 2016 13:59:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 574BC2859A for ; Mon, 27 Jun 2016 13:59:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4BBF32859E; Mon, 27 Jun 2016 13:59:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2BBBE2859A for ; Mon, 27 Jun 2016 13:59:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751644AbcF0N7J (ORCPT ); Mon, 27 Jun 2016 09:59:09 -0400 Received: from mailout3.w1.samsung.com ([210.118.77.13]:62733 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751601AbcF0N7I (ORCPT ); Mon, 27 Jun 2016 09:59:08 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O9F00AK7O6HF780@mailout3.w1.samsung.com>; Mon, 27 Jun 2016 14:59:05 +0100 (BST) X-AuditID: cbfec7f4-f796c6d000001486-38-577131297e4c Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 8D.15.05254.92131775; Mon, 27 Jun 2016 14:59:05 +0100 (BST) Received: from AMDC2174.DIGITAL.local ([106.120.53.17]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0O9F006ZIO6EIBA0@eusync3.samsung.com>; Mon, 27 Jun 2016 14:59:05 +0100 (BST) From: Krzysztof Kozlowski To: MyungJoo Ham , Kyungmin Park , Chanwoo Choi , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz Subject: [PATCH] devfreq: Add COMPILE_TEST for build coverage Date: Mon, 27 Jun 2016 15:58:59 +0200 Message-id: <1467035939-31799-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrLJMWRmVeSWpSXmKPExsVy+t/xq7qahoXhBqt+MFlsnLGe1eL6l+es Fq9fGFqcbXrDbnF51xw2i8+9RxgtbjeuYHNg9+jbsorR4/MmuQCmKC6blNSczLLUIn27BK6M /mMz2Qs+81es23eKpYHxF08XIyeHhICJxK/Gy8wQtpjEhXvr2boYuTiEBJYySsybfIIFwmlk kni0/yErSBWbgLHE5uVLwKpEBHYxSqxefYgFJMEskCnRuXcuO4gtLGAr8evdQrA4i4CqxM1J W8FW8Aq4S2yZfp4RYp2cxMljk1knMHIvYGRYxSiaWppcUJyUnmuoV5yYW1yal66XnJ+7iRES CF92MC4+ZnWIUYCDUYmH94JMQbgQa2JZcWXuIUYJDmYlEd4mg8JwId6UxMqq1KL8+KLSnNTi Q4zSHCxK4rxzd70PERJITyxJzU5NLUgtgskycXBKNTDWf41RS/Pcted/md2np+slzhxt8Fs1 ZXdOjdDr26fPH5m16cs1tW0JSvMZPbUztzhOvhjlrGJx9n9IznWWm5PmLbZgm9HzILh3Rorr 2uWOa+VXmr7fYn/Nqat3us79jE8u9edSLmpPzD61PzGlz6D51tu1vhp1F+SV3ziofBX79Ltu zp3un68TlViKMxINtZiLihMBrd/LmAACAAA= Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The SoC-specific devfreq and event drivers can be build tested on all architectures. Signed-off-by: Krzysztof Kozlowski --- Success of compilation tested on ARM, ARM64, i386, x86_64 and powerpc architectures (allyesconfigs). --- drivers/devfreq/Kconfig | 4 ++-- drivers/devfreq/event/Kconfig | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/devfreq/Kconfig b/drivers/devfreq/Kconfig index 78dac0e9da11..8a93d65cf550 100644 --- a/drivers/devfreq/Kconfig +++ b/drivers/devfreq/Kconfig @@ -76,7 +76,7 @@ comment "DEVFREQ Drivers" config ARM_EXYNOS_BUS_DEVFREQ bool "ARM EXYNOS Generic Memory Bus DEVFREQ Driver" - depends on ARCH_EXYNOS + depends on ARCH_EXYNOS || COMPILE_TEST select DEVFREQ_GOV_SIMPLE_ONDEMAND select DEVFREQ_GOV_PASSIVE select DEVFREQ_EVENT_EXYNOS_PPMU @@ -92,7 +92,7 @@ config ARM_EXYNOS_BUS_DEVFREQ config ARM_TEGRA_DEVFREQ tristate "Tegra DEVFREQ Driver" - depends on ARCH_TEGRA_124_SOC + depends on ARCH_TEGRA_124_SOC || (COMPILE_TEST && HAVE_CLK) select DEVFREQ_GOV_SIMPLE_ONDEMAND select PM_OPP help diff --git a/drivers/devfreq/event/Kconfig b/drivers/devfreq/event/Kconfig index 1e8b4f469f38..ad982092359a 100644 --- a/drivers/devfreq/event/Kconfig +++ b/drivers/devfreq/event/Kconfig @@ -15,7 +15,7 @@ if PM_DEVFREQ_EVENT config DEVFREQ_EVENT_EXYNOS_NOCP bool "EXYNOS NoC (Network On Chip) Probe DEVFREQ event Driver" - depends on ARCH_EXYNOS + depends on ARCH_EXYNOS || COMPILE_TEST select PM_OPP help This add the devfreq-event driver for Exynos SoC. It provides NoC @@ -23,7 +23,7 @@ config DEVFREQ_EVENT_EXYNOS_NOCP config DEVFREQ_EVENT_EXYNOS_PPMU bool "EXYNOS PPMU (Platform Performance Monitoring Unit) DEVFREQ event Driver" - depends on ARCH_EXYNOS + depends on ARCH_EXYNOS || COMPILE_TEST select PM_OPP help This add the devfreq-event driver for Exynos SoC. It provides PPMU