From patchwork Wed Nov 16 08:47:31 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9431061 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 354B160471 for ; Wed, 16 Nov 2016 08:48:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 22C0228651 for ; Wed, 16 Nov 2016 08:48:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 15E3B28674; Wed, 16 Nov 2016 08:48:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.4 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 854C328651 for ; Wed, 16 Nov 2016 08:48:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751572AbcKPIsH (ORCPT ); Wed, 16 Nov 2016 03:48:07 -0500 Received: from mout.kundenserver.de ([217.72.192.75]:49900 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751335AbcKPIsG (ORCPT ); Wed, 16 Nov 2016 03:48:06 -0500 Received: from wuerfel.lan ([78.43.21.235]) by mrelayeu.kundenserver.de (mreue104 [212.227.15.145]) with ESMTPA (Nemesis) id 0Mfpbg-1cRsWM1Ck8-00NB1c; Wed, 16 Nov 2016 09:48:02 +0100 From: Arnd Bergmann To: Ohad Ben-Cohen , Bjorn Andersson Cc: Arnd Bergmann , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] remoteproc: adsp-pil: fix recursive dependency Date: Wed, 16 Nov 2016 09:47:31 +0100 Message-Id: <20161116084759.12627-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:vNSJb65iylePDGzlVdv5kr/8p+VBjYZK1lEriAutc4VxJEqCu2g QaqJw6YvDsAdFQq81ERWZk7USHdG86N2nXT9V9O1RZYIJsbEntSGDVb1nbejpzHPNRQCdCi zwJUx72Jnn9xzjrIDUTJa0s4P9HwJe3rtlKkFZQCTb0OEpn4LtN2GRryV2tBT1kooIT5eJR NlVEOWmnNYAyST3rWiQ2g== X-UI-Out-Filterresults: notjunk:1; V01:K0:GGABDQLRkeQ=:ODPybmoi+QZkedyYpuS55r g2eRjgc1WX3Tmsc2iWAzUUNd5WA3oKjBqIbIMHVRSsKPMWQfJ7WvsbQ9gVxzF210PeolMk/3j Wj7hfRj9PHtVnDZxDL1V/GV75S+aKlB5zga2efGIPWKnxficFQrm4Cl+TBZt5dNQoaAa/p/Pk yRAz8HqGVx1SQBJEWuAiXIFskBZ4NIfPgS3mz/kTJqhDtXUOnGzQRKenm6Zt39+2JqaqrUJDS pEvlJXo/sU37MTxTml9HfP3K+sz9bf26Dv/rGsd4s9rta3bOHonlynPS/872qWR3Bb6xRC457 T0y3ky2Z/GgWROyooTi8GoLSwdEn6mIAhN5nZPjTGNI3Hn6I/zAbPQ/GpAefZBfbIk19YzKk/ 19kcThaWevz7GXu7ks5Vhf+vt+LXn1wgGpCUXzYfKKeqrDCSBcqjuPNIo908QuRlfh59kf3i1 /MlvHRqj8XqT5NbRVEBx0o2lbdYcfZCI5OeesALjhO1fMeGn/1tFaJH+3zornxq9H9xHBUFeW o12GOARwCqTaC1/NkMkvz5d5Y29LZ7ljSAAdugHoQCT77/2sM/PcZS0C0+r42Pd2QaxaNyOLD WVAmAlJsu2T5b3lyw1TdkY+jNqG4N048X338TdMBINeiIIaXGpEBlKUa5Ooh+EA8svS9RxmTm ChHCm3Q04p06L6MWE88xNqj0N/LvkVK8H6Q0xz2MIjSoOJF24dRwNvob6HfGjzYC3wAA= Sender: linux-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The newly added driver tries to 'select' a symbol that it has an implicit dependency on, which confuses Kconfig: subsection "Kconfig recursive dependency limitations" drivers/remoteproc/Kconfig:3: symbol REMOTEPROC is selected by QCOM_ADSP_PIL As REMOTEPROC is itself user-visible, we clearly should not select it from a driver, removing the line fixes the problem. Signed-off-by: Arnd Bergmann --- drivers/remoteproc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig index 9c41128750ca..5a0019ce7555 100644 --- a/drivers/remoteproc/Kconfig +++ b/drivers/remoteproc/Kconfig @@ -81,10 +81,10 @@ config DA8XX_REMOTEPROC config QCOM_ADSP_PIL tristate "Qualcomm ADSP Peripheral Image Loader" depends on OF && ARCH_QCOM + depends on REMOTEPROC depends on QCOM_SMEM select MFD_SYSCON select QCOM_MDT_LOADER - select REMOTEPROC help Say y here to support the TrustZone based Peripherial Image Loader for the Qualcomm ADSP remote processors.