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: 10078767 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 0E68F60353 for ; Tue, 28 Nov 2017 06:58:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D4221288F6 for ; Tue, 28 Nov 2017 06:58:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C85DB29184; Tue, 28 Nov 2017 06:58:58 +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=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 69E25288F6 for ; Tue, 28 Nov 2017 06:58:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Date:Message-ID:Subject: From:To:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=oNB0UQflc4cFQhRBIdAeQreIfTqUBmigO7V0MkACbJQ=; b=A65cUoqsRpWCQT U7/H8DwXAYB3vZh5IUF30Nir/ujXP/+2H177CvyGVvYnYjfP6YcN3vCLxjWRQ2yrWAUGZDo0hfp2c /gb0LMPRuhOCslngwEUC0SLtkkitAwevVXc2eiEoQptJ8VpPJqBE5k1K25OCb5P70pEjD3Rh5YH2B XYh3RML6GaV1CNbF7+dWlmozBX9M0WWm3bQqvbSKoLysIdM0Ivjswbn3qYqWqUGI4ycWT5sP1IvoT lvS7QVa+QwrZqXdyeY1uGFuyoGW9cuJAl3btsuHKVYRAp328P6Bgqu5rHn6cVyVOuqNdAmD+nahOD x1l/ML1wgb69SHdj/nGg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eJZr5-0002Rt-Kh; Tue, 28 Nov 2017 06:58:55 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eJZr2-00025q-0Y for linux-arm-kernel@lists.infradead.org; Tue, 28 Nov 2017 06:58:54 +0000 Received: by mail-wm0-x241.google.com with SMTP id w73so10857850wmw.0 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=bpSOxwpK6Z7IfxTcCdecv3URYp8wKLlzhzCG+2Kh5xym6SRimec1DB1j2Plbr4qVsR Q1qoybN+L3+3kCrheDY3cnJWeLl1THh6tP9/bd5vptDt2Pem47m5QdexgmyPiBMHbDXL ty76cLt3c/ew2J28jK5uNQEmIQk9Tb5bDUQWIarMKCiLD5de6Vu4/+VgEB3s6WTNNwoQ VRZO2hmrtWp9fGsfcMejGXckNptNJX6G+mII3b0YzqBvGAsqCAzb+hd6dnd19Bq+w07Z dCrxCJYyuUAl34A7L8QZkuPZSfH2LGGOTXD6WO9laAT4zdCO4jKIOZSzBHiquKzfTcJN 1hFg== X-Gm-Message-State: AJaThX5Dtkkbdnx8ABxynqYEOjzC37NLbFTGTQFM+L3U8DuvY9m/JHoK WB6kDUIiBNpzSlo/TCeBEN02Xg== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171127_225852_235374_33C32512 X-CRM114-Status: GOOD ( 10.57 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kbuild test robot , linux-clk@vger.kernel.org, "linux-arm-kernel@lists.infradead.org" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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.