From patchwork Tue Nov 28 06:58:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiner Kallweit X-Patchwork-Id: 10078765 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 E383360353 for ; Tue, 28 Nov 2017 06:58:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B3111288F6 for ; Tue, 28 Nov 2017 06:58:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A4DDF29184; Tue, 28 Nov 2017 06:58:31 +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.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID 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 53D21288F6 for ; Tue, 28 Nov 2017 06:58:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751130AbdK1G6b (ORCPT ); Tue, 28 Nov 2017 01:58:31 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:38167 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750883AbdK1G6a (ORCPT ); Tue, 28 Nov 2017 01:58:30 -0500 Received: by mail-wm0-f66.google.com with SMTP id n74so13945016wmi.3 for ; Mon, 27 Nov 2017 22:58:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:cc:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=QNgQWZCy9WRGW4X5ikuHkVA871ST/xzB4cyN9r0Ob3I=; b=b9cPiCI53AYn89qtgxOI7FfoNFCJ/3uBLd5fLCkZdOwYG5xhtYzA+b5D3782g0rfv3 pErmquLpagz/nHDJ8DMN+bwIUcFGnBgjHS0IGQy+exTTQm8Gxjr7LGt+q7zkBSZHUF/S HQIvxXROJdH0PGA1TZm2ah/YbQfKVF/AeWtL80FHWsfpo0qzDUwMB07e0xOHTZKaxpaH vapuhXCU38GEArAx+9qhd3eiBoj8g1XUJblACBw1OlTCZs/wQeNHv7U0BkkE5lrFGMNb nhaAWOuzXiceDmwCo6RzQf8KeqpVuxj0LHgZ5OcNUpkLg4Quxw0EF4omtjo5p5YlJCiA T02w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:cc:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=QNgQWZCy9WRGW4X5ikuHkVA871ST/xzB4cyN9r0Ob3I=; b=qedF7ESc9vqGDnVQ33raGFFzZhWC+fxnthbkGEfKmhPdcBNEv8pr8oYhDEJTrkjI3R nY+PAFn4c5K7vq1mImkBbQQiOYxeLQayfaqulQeVGTWob0bT+oJTKmvHFD0yvaoND89y q2Dahv7ese/dFcSfVmKpgj3UlEZOV5T7ih4Rhar5K8XKhNKKK2UHt/SAxnlibA9w2kjm UVvE45HCGN8bDMWqHER+cix7fqEWK9HoaOXaf4XG39bY2iz8jjF71DD8XoiEtqhLsds/ inQkykmPFNFYUmWweWBEVd1aClGoPFMo6HbcRW6qdGO1Sl3AT5/SW38SUIunfdiZkznL Zh6A== X-Gm-Message-State: AJaThX6tU0o9dhWtlMGEiOS/61WkPgr/EN2erPb8kperN2TcJVa3nqIa RSZUlab2kPfNWeHrQNNEQ8U= X-Google-Smtp-Source: AGs4zMY/93o9/VYifJYNVSaCSjjUfe1FRTuG2ksN4jFdzaQvupQbmxTMz4ElEov1HsYktW6O1vc7bw== X-Received: by 10.80.245.172 with SMTP id u41mr1174697edm.195.1511852309392; Mon, 27 Nov 2017 22:58:29 -0800 (PST) Received: from ?IPv6:2003:ea:8bc0:e400:ddd5:148f:9bad:cc71? (p200300EA8BC0E400DDD5148F9BADCC71.dip0.t-ipconnect.de. [2003:ea:8bc0:e400:ddd5:148f:9bad:cc71]) by smtp.googlemail.com with ESMTPSA id a63sm19773022ede.79.2017.11.27.22.58.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Nov 2017 22:58:28 -0800 (PST) To: Sudeep Holla From: Heiner Kallweit Subject: [PATCH] clk: fix compile testing of scpi clk driver Cc: linux-clk@vger.kernel.org, kbuild test robot , "linux-arm-kernel@lists.infradead.org" Message-ID: <24058ecb-9f12-f7e1-503d-bd98eb894c6c@gmail.com> Date: Tue, 28 Nov 2017 07:58:23 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP We now have a hard dependency on ARM_SCPI_PROTOCOL and may end up with the following error: ERROR: "get_scpi_ops" [drivers/clk/clk-scpi.ko] undefined! Fix this by removing COMPILE_TEST from COMMON_CLK_SCPI dependencies. Fixes: f7fee8be06a6 "firmware: arm_scpi: remove default for get_scpi_ops if not reachable" Signed-off-by: Heiner Kallweit --- drivers/clk/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index 1c4e1aa67..fe6fd705f 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -64,7 +64,7 @@ config COMMON_CLK_HI655X config COMMON_CLK_SCPI tristate "Clock driver controlled via SCPI interface" - depends on ARM_SCPI_PROTOCOL || COMPILE_TEST + depends on ARM_SCPI_PROTOCOL ---help--- This driver provides support for clocks that are controlled by firmware that implements the SCPI interface.