From patchwork Wed May 27 11:26:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 11572635 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 13FE3913 for ; Wed, 27 May 2020 11:26:31 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 0F76A206DF; Wed, 27 May 2020 11:26:31 +0000 (UTC) Delivered-To: soc@kernel.org Received: from mail-lj1-f195.google.com (mail-lj1-f195.google.com [209.85.208.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B6635207D3 for ; Wed, 27 May 2020 11:26:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ONaJkYkR" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B6635207D3 Authentication-Results: mail.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=anders.roxell@linaro.org Received: by mail-lj1-f195.google.com with SMTP id z18so28411618lji.12 for ; Wed, 27 May 2020 04:26:30 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=k7QD1+/Irx+1VllFQd8G5Bjp2O9W9kjYTs0FEoDMEik=; b=ONaJkYkRMcHeErRk8IHzp2w+8EQvfPsaAgChUgUktMUmtcYgYs5dsNUPwrdd7EYSKN D4DIXVxSh8u3zLOflHUEraISMLMQ/q3vCM3iubUxV5PigMwApQbkhw4RNuPg9ncvIcKA igWa+s5fR6fWEKXZModGjrdWz+h4RkpZiLE58jTQeLTji28ZQua4/RcpBz0uQLJfoHv6 h2lEUZVOuA5FimUcUp9tk1qi4akUeGGx8ycuEGxWDgDoz5yLxUFniYV6PgTB5BGEi0wa 0lRZEgAnQqKON74RapS8RXexD/+QgFsv2GP/RJQSWnCB1YyFFPRe8na8cjCvrVBtJwSV /e5g== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=k7QD1+/Irx+1VllFQd8G5Bjp2O9W9kjYTs0FEoDMEik=; b=C+Dyo3tRCK/RX6sSVpk8OCjlqzkXcIXjG4bOe+3oOEjfHmjWb/1XdgWY3KfJyhaErI rLBHJuJnKrYapUw9jAzYNBYR5j/GIyB11kxnh6L1W1A1A/SS81yOFClheOIGP9Bfd0pr TJkqjUMPEIpqembszP5WmnqSOd83vt0cyXUugQB9Okdo+seSXAcjV9b+jxMz6D7l8Wx5 QGhklTHd8iIx8oqOtCZxgPISD20jRWmJBZ0mLZTrUEE8360VNfuZw6C6BrZ/mvKwDswK 4JsqyPUS/aGo0tNILH+2BIGG6ujZPt1u+FluAmwTn/MXENH254maElmrGMHvejI+8vqI qPrA== X-Gm-Message-State: AOAM532CiSkx5aCVtUQxoIoKK+Y95u/IgVhOg+72OvNHifBEPQKONPnr sIO67BGsRPb1Sa7D5rL2CwbUDrj9nAw= X-Google-Smtp-Source: ABdhPJyJDrv1Hmbnw21diOmccCoGxDIOh35hLywSrDGN/chN+OoZ8ibsZbuSZCNyN3t40tOyXlz1BA== X-Received: by 2002:a2e:8115:: with SMTP id d21mr2937651ljg.167.1590578788647; Wed, 27 May 2020 04:26:28 -0700 (PDT) Received: from localhost (c-8c28e555.07-21-73746f28.bbcust.telenor.se. [85.229.40.140]) by smtp.gmail.com with ESMTPSA id y17sm628702ljm.133.2020.05.27.04.26.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 May 2020 04:26:28 -0700 (PDT) From: Anders Roxell List-Id: To: soc@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, robh@kernel.org, linus.walleij@linaro.org, Anders Roxell Subject: [PATCH 4/5] power: reset: vexpress: fix build issue Date: Wed, 27 May 2020 13:26:07 +0200 Message-Id: <20200527112608.3886105-5-anders.roxell@linaro.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200527112608.3886105-1-anders.roxell@linaro.org> References: <20200527112608.3886105-1-anders.roxell@linaro.org> MIME-Version: 1.0 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 Acked-by: Rob Herring --- 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.