From patchwork Mon Jan 25 11:35:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 12045261 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3ACCEC433DB for ; Tue, 26 Jan 2021 04:57:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DFB7C22B3F for ; Tue, 26 Jan 2021 04:57:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729677AbhAZE5Q (ORCPT ); Mon, 25 Jan 2021 23:57:16 -0500 Received: from mail.kernel.org ([198.145.29.99]:33388 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727790AbhAYMKN (ORCPT ); Mon, 25 Jan 2021 07:10:13 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 44EBE22AAA; Mon, 25 Jan 2021 11:36:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1611574561; bh=BZfbuSURKnkXQKRffrZynYjAYt2pvrMVX3otNME949I=; h=From:To:Cc:Subject:Date:From; b=kLyTrI57IOeN5+8ySHG6sqb5MlnMqkxgupnU6fzeabSJOK8Rvn/XxyG4Mi9x64/RX ZzUgUZYsPhDQ9hT4cdYOyT/2zNXass0nQcFjY4CwmiW9BcZXOX9rR+exbh2r5Y4YgR JemhqwaRmUpEUHb9SgluNCnr8RQsp0iOCY9I5WoVY1vG5XXVK9iuQtS0bweo8yvNnF S+fqjv04/QLDHL4w5pmpMWcu6ydDQD0Hw06l6hSQHTiAsh6S7vKDA1mgSECx2I0anh 5KkxIkzc3Ma6PMp/XvcCph3yPDAvo+PtmxXvfCMTTh93oyP2a9i8VeP4z3kDw7wMGm 42O1M3sPvTX9w== From: Arnd Bergmann To: Alex Elder , "David S. Miller" , Jakub Kicinski , Bjorn Andersson Cc: Arnd Bergmann , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] [net-next] ipa: add remoteproc dependency Date: Mon, 25 Jan 2021 12:35:50 +0100 Message-Id: <20210125113557.2388311-1-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org From: Arnd Bergmann Compile-testing without CONFIG_REMOTEPROC results in a build failure: >>> referenced by ipa_main.c >>> net/ipa/ipa_main.o:(ipa_probe) in archive drivers/built-in.a ld.lld: error: undefined symbol: rproc_put >>> referenced by ipa_main.c >>> net/ipa/ipa_main.o:(ipa_probe) in archive drivers/built-in.a >>> referenced by ipa_main.c >>> net/ipa/ipa_main.o:(ipa_remove) in archive drivers/built-in.a Add a new dependency to avoid this. Fixes: 38a4066f593c ("net: ipa: support COMPILE_TEST") Signed-off-by: Arnd Bergmann --- drivers/net/ipa/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ipa/Kconfig b/drivers/net/ipa/Kconfig index b68f1289b89e..aa1c0ae3cf01 100644 --- a/drivers/net/ipa/Kconfig +++ b/drivers/net/ipa/Kconfig @@ -3,6 +3,7 @@ config QCOM_IPA depends on 64BIT && NET && QCOM_SMEM depends on ARCH_QCOM || COMPILE_TEST depends on QCOM_RPROC_COMMON || (QCOM_RPROC_COMMON=n && COMPILE_TEST) + depends on REMOTEPROC select QCOM_MDT_LOADER if ARCH_QCOM select QCOM_QMI_HELPERS help