Received: by 2002:a25:1104:0:0:0:0:0 with SMTP id 4csp622426ybr; Fri, 22 May 2020 15:05:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwN0ngyfbaLdDZRw149r4jD+gZccQGBipyQ5bZGNGmGwptqDlAMd6IP1S1bmuqEmGp2eLsO X-Received: by 2002:a50:e04c:: with SMTP id g12mr4869805edl.74.1590185106259; Fri, 22 May 2020 15:05:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590185106; cv=none; d=google.com; s=arc-20160816; b=mvlFCzj9js0NuaZiTSQ/4GiG0iX4cGZGSgBemoE0O72r1cstvfhRJsG9Xxhk43xYPy 5tXTWkRzsAG8iQHINxtCrCVr2fFJcn0XXY6U+56JR+gu1vvzZykDXMOMoNjuFTKLifq5 QF/2yfNWj1pQvsb0Si+D70McBQ+u9qhh9bXQHvvScNG/q4FRBD6bHXHQ21LIGQSKr8a9 n26QcEH+y7Kuz7/zfRtDZ020cATk5ihyE42IOCJlyBaR81mpPXddME0t0mvVfw61zWGm TwANvdipfUcrQm3tqT06vYZ0Aub4PCx7MilyygFalC19ZDdNkaoieCiU3byWja1aa23G P3Sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=md669RdBclbFrXrZGK1KdT+qBRfYNiaWb1iEVBI1beg=; b=tvVlN95oRZw6pKkjGTE0NGI7C08UlRqvbueDtNiitlOBa7DMszYOx/3VGQjHLI7iiv QfMz4aYDzgLRLSpRA6v/TvBHNyf93jui4fA/eXOB8XIh/YDCeFH0IyX/v372T8xP4ErO yylPpbJqZfgPltJBxrpZMHVeODdtFbiVnnpdSRVi0T4WsCjGWpzM3Ugdu0nTDIRmM0AR L4aBUjiJ4ZuhyDj2foZm+nQh0Q3hglSJBGnzipIJy774Wl5j8GQlq+K5xQXSFvlbwD9/ hX3EeDVMk2v94foRAkWNblNMsN6A9FN4wRKYxIQyU0pKNDoAz3xogW56a3VQzMTjLNNl ez6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=O3LrhJkt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dx17si5657268ejb.467.2020.05.22.15.04.43; Fri, 22 May 2020 15:05:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=O3LrhJkt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731159AbgEVWBO (ORCPT + 99 others); Fri, 22 May 2020 18:01:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731051AbgEVWBN (ORCPT ); Fri, 22 May 2020 18:01:13 -0400 Received: from mail-lf1-x141.google.com (mail-lf1-x141.google.com [IPv6:2a00:1450:4864:20::141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5566EC05BD43 for ; Fri, 22 May 2020 15:01:12 -0700 (PDT) Received: by mail-lf1-x141.google.com with SMTP id x27so7338272lfg.9 for ; Fri, 22 May 2020 15:01:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=md669RdBclbFrXrZGK1KdT+qBRfYNiaWb1iEVBI1beg=; b=O3LrhJktEL7Hmmhz9eoMNBvf4alk7CuPA/mqmRwrNJXClKBP/hiLxnSYI82JMvkd9M CE8Vk3YWbxplpNff0Vh0kj8u5msHJkSIfo/zSu58I2kT1j6pm60beY2WxJnAmubq7TxD Ul7on5MazciqobgfNChHR8awKuMqMCsyTPpYuq0mtt2R5huM2VakzeURcdAmImpumqjE qFFpNeP3orI9t4TRD3WO6mTl6qpDG3RDJZCI00s53H1grPGYTPDAoL2I/KFRTsTIP93N LLg8W1E7++J9viaffLMmdpz5DufdtIiF2bdh/NhPpI+gVyU1+bhpzBxsZPpuvPtaY+o7 vFkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=md669RdBclbFrXrZGK1KdT+qBRfYNiaWb1iEVBI1beg=; b=GKPSkL0biOENe1w4cIJvKn9LKsVZunEpSwO/IrS+UTz7E5ObzQDcBdSGq/RkI8AgYs qEUFiUnBQNDphN56SkzgAuIWYHsYkLiQvMUxzTy+RtbwefZATb1sQ2Tm99jKo3ly6BL7 fvLwnEEYAEXwHhPjrNF6zAg5YLJEt4mebs3kbLZCMg0tAISCO8xtdRsqBz87C2bfSu8I FKKrI23dMsy8vAE6IvsPaHMk9epLDSqMKklNPj+eAByUap0M6BQlawzsV3o3B8lek1Ck PMrffIpOT3uzrpA0ThYL36ZXJcIreHC7DIg16uiLWYQ4oseX8CoIxi2jr6S7Togm8SB5 jGYQ== X-Gm-Message-State: AOAM532V8RcHCv8SvHCEeBElzkaJSLlGo3fbI39mC2pv6E6uoDfaWHKO shKeYSHN6f61RM/pqQRRgkG1WQ== X-Received: by 2002:a19:be55:: with SMTP id o82mr2269419lff.168.1590184870680; Fri, 22 May 2020 15:01:10 -0700 (PDT) Received: from localhost (c-8c28e555.07-21-73746f28.bbcust.telenor.se. [85.229.40.140]) by smtp.gmail.com with ESMTPSA id j10sm2543885ljc.21.2020.05.22.15.01.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 May 2020 15:01:10 -0700 (PDT) From: Anders Roxell To: geert+renesas@glider.be, magnus.damm@gmail.com Cc: linux-renesas-soc@vger.kernel.org, sre@kernel.org, robh@kernel.org, linux-kernel@vger.kernel.org, Anders Roxell Subject: [PATCH] power: reset: vexpress: fix build issue Date: Sat, 23 May 2020 00:01:03 +0200 Message-Id: <20200522220103.908307-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org An allmodconfig kernel makes CONFIG_VEXPRESS_CONFIG a module and CONFIG_POWER_RESET_VEXPRESS builtin. That makes us see this build error: aarch64-linux-gnu-ld: drivers/power/reset/vexpress-poweroff.o: in function `vexpress_reset_probe': ../drivers/power/reset/vexpress-poweroff.c:119: undefined reference to `devm_regmap_init_vexpress_config' ../drivers/power/reset/vexpress-poweroff.c:119:(.text+0x48c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `devm_regmap_init_vexpress_config' make[1]: *** [/srv/src/kernel/next/Makefile:1126: vmlinux] Error 1 Rework so that POWER_RESET_VEXPRESS depends on 'VEXPRESS_CONFIG=y'. Fixes: d06cfe3f123c ("bus: vexpress-config: Merge vexpress-syscfg into vexpress-config") Acked-by: Rob Herring Signed-off-by: Anders Roxell --- drivers/power/reset/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig index 4dfac618b942..f07b982c8dff 100644 --- a/drivers/power/reset/Kconfig +++ b/drivers/power/reset/Kconfig @@ -191,7 +191,7 @@ config POWER_RESET_VERSATILE config POWER_RESET_VEXPRESS bool "ARM Versatile Express power-off and reset driver" depends on ARM || ARM64 - depends on VEXPRESS_CONFIG + depends on VEXPRESS_CONFIG=y help Power off and reset support for the ARM Ltd. Versatile Express boards. -- 2.26.2