Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp598379ybk; Wed, 20 May 2020 07:25:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy6ACPkFN4Go0c1y/ih3Mb3DQGd3gfI/WPrYzjyb8YKCWeEkdJFFNTcn8QiPA35wZu5DVve X-Received: by 2002:a17:906:f53:: with SMTP id h19mr3757256ejj.343.1589984706570; Wed, 20 May 2020 07:25:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589984706; cv=none; d=google.com; s=arc-20160816; b=wep0Zaso7/5YjBNaW9LMgR8kn/Bph4BRvPTw28IHtJpKqjApvZctMURUvW5LJnOYHv HxW797QKWSvPRMCk3farbNZIpU/pYAU5qz0/OO+ZUSX1idWGCABABBE9JU5438NxQQ0n xq35KkmGuf1opmo4nEjejDVDoVBz4l3efXSlBrneFZ3GrdwoJFvPTsiUXNjID2skylbn v/j/UZPcx8S3AEfrK0Q2477g878EXU3b1er0u6Menm7S82/Tlj3hbl9wXITl2qW0C3x6 nVZo1692PBh3KtVyzB73QJu+AfNylBLIhCyiNAWybi+MGN/9Ks1XVjiPSbYGrKFfdUJM VmaA== 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=UHLQVyByllAsLV9q0W4W++svAyzlYBPAqfr50eKbfzo=; b=Q6v9S8b2lMI4c4hug5xcSCM5ZpIw2Elbq0L+LYYdxZCvDr2VOBUl2VXxXkdY/XNG6W PBnsddMO4xzzA+cc/JjjssXfUfGpEzrgH+qnul98UBGxbq6hCJG8K3RjJouQzAMeP+8A bjIciOI/VyqdpPvn3BKV04ssk2S6Pvgv7RVwkFZlS291H9zw0xNNwbLCGTbRSGdGYIKY HCI63AReIWsdLnUxUJc1rV1nExR2jAQJ4mNgCjAKmdDA7UIQp6ValAuIObjk2tE/vTuA DTKI1st36plc34ZcTfkslDNFU6cPEgxP3fpn2giU4cguTPWcq7Hme+VIEaTNGry9vTtS I/7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=COUxdVve; 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 v26si1881516ejb.314.2020.05.20.07.24.42; Wed, 20 May 2020 07:25: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=COUxdVve; 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 S1727940AbgETOW7 (ORCPT + 99 others); Wed, 20 May 2020 10:22:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726546AbgETOWi (ORCPT ); Wed, 20 May 2020 10:22:38 -0400 Received: from mail-lf1-x144.google.com (mail-lf1-x144.google.com [IPv6:2a00:1450:4864:20::144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 461CBC061A0F for ; Wed, 20 May 2020 07:22:38 -0700 (PDT) Received: by mail-lf1-x144.google.com with SMTP id a4so2387868lfh.12 for ; Wed, 20 May 2020 07:22:38 -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=UHLQVyByllAsLV9q0W4W++svAyzlYBPAqfr50eKbfzo=; b=COUxdVvelmP88VBI3mT2/KoKOC6ICS6YuLHK5a1Y0gCSVMBPhjeyGH9lNT/eSf28W8 +i1NYwu0rHLChGdfKFvIdDMOXY5bUNAHXNDJWFmCR8mOz0NPtTWrKzPofbybotKy4I4G vUgnJSjCrdWpm3a39CLtQYOAD05vthRJlpPdUR3b8MhGPx6YdhAzvsC/LmqyB5c4s25h Ckl/lbgOPPVh/DD4/tcJNFty/GHN2tleCAMP+NRa3CEnUVEtr2Es7fpMQyQb5jkBpCc+ O/is04JNtWtCAMb/qwjRsCLfteGgQGFzrAqtYC61yF724jeEAO9A3yEhtsCylIlAelWk z/oQ== 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=UHLQVyByllAsLV9q0W4W++svAyzlYBPAqfr50eKbfzo=; b=t7SdrhtWvx0NqY6kqPApSMyF2i17trexKEQqkPSYPxS0+KxHiaqTmYGNSb21YeXo2+ k1l/iVMd1HFeJoGsQTX/tR9FVBEOM7IesU2HfkJVwpI6TETW7Ytb9NX7R0Zkuy2mp5fh g12FZLf7/b+BacZMlUCRj3qTnAn13ZzqqLIh4Bjp/yKrRi/XeIbnCOSV7DXWL645KCjv tnD68hrsggPlpy9b5cJl3JNUqAzsj4jWtZimvccYmxcIfYlyz1M3I7rx8dTQgviRkG85 rNlFDMPY5Gg6eyAat3xKv+5WqLQpzACU1yZ3PzfoiD4ARiWplN6lqr0MP7uksBPo6GTB uHAg== X-Gm-Message-State: AOAM530ccHFe/W0BjuaJ5zm2yoEQtq2v8wF2XNEz6+xLhKwtfnL13JkB LodFgg96gsRue1tdBd3ZHYki1A== X-Received: by 2002:a19:ad49:: with SMTP id s9mr2753439lfd.9.1589984556554; Wed, 20 May 2020 07:22:36 -0700 (PDT) Received: from localhost (c-8c28e555.07-21-73746f28.bbcust.telenor.se. [85.229.40.140]) by smtp.gmail.com with ESMTPSA id u15sm1096636lfg.92.2020.05.20.07.22.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 May 2020 07:22:35 -0700 (PDT) From: Anders Roxell To: sre@kernel.org, robh@kernel.org Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Anders Roxell Subject: [PATCH] power: reset: vexpress: fix build issue Date: Wed, 20 May 2020 16:21:44 +0200 Message-Id: <20200520142144.520139-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") 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