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: 370579 Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp4616777jam; Mon, 25 Jan 2021 20:58:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJxGcRykegB9v0rvJHBK0lvrEF0WTmvLvz2qaKmImsvxhNdwqBxvQS7gx2lI/D9qcz/TZJWI X-Received: by 2002:a17:906:af41:: with SMTP id ly1mr2235439ejb.491.1611637083759; Mon, 25 Jan 2021 20:58:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611637083; cv=none; d=google.com; s=arc-20160816; b=vvx2KaeDrTG2AvygVZaOANgDkqrNiGVdLA9Ta/+mC9B44OQpzSRCIi1rbfvebgfLRy lp0VcnVTBxUeEB6BDSELm+mAYv991ssgFF/FtjU3iqsUdfWNlP8JiDoIfKCIJfO3GyPq GQxfgj71D+ITVN4bS8MeX34NqKVZAljfncqHEp+tEHI8O5DsEoGU8GlAMYPmENuWiX0/ JoUCWS+uYsf5RpYJp1GMzRYkRLQP5z+3rmtRT+D5/6PDbOZImZFvq807OOGeUrTlZqzw gy5Y4s3SGj5yvxTmyVan3xX+U6mrRBHDl9PofEOuITjPLS3z0MHluB0FqkbtLB2HxhZi DBoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Wf7jbr7lt0lZLPsxRINX7KUP+YG5cvLIZzwM31XXDSQ=; b=h855MvuGPD27kcER1rupyW9RW95DWFcMw6mTXABy+Q+/uLHZ0I6kxMNWD3SbmRMnZP uBqD4zf5lIPGyvwYJ4y0PEu0xM1FgPdcH2gDBjm9J3nllY1oeGX0q2DrLys+mEe5an0m edb5DOgfqmxOmWZlIi1hLoK5N/E/vjn00LvKEqtplHdeq7sag5w95fN870aTZckY+VD1 c0dz3l1Ad0r+arYa049bV8UnEW/Ott/L5wrF9yjjLQ/LjhozsTjuP9R637drx0jTqae+ rARyBSmu9IP7zViDADmPFhD3hnl5/Xo+wv9eBS3LFS8USb71qJDPZOOZYxF11Treqx3R zPUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kLyTrI57; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i1si8579926edl.551.2021.01.25.20.58.03; Mon, 25 Jan 2021 20:58:03 -0800 (PST) Received-SPF: pass (google.com: domain of netdev-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=@kernel.org header.s=k20201202 header.b=kLyTrI57; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729677AbhAZE5Q (ORCPT + 7 others); 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 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(+) -- 2.29.2 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