Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2452214imu; Thu, 17 Jan 2019 14:37:06 -0800 (PST) X-Google-Smtp-Source: ALg8bN7wlElI5EURlU2DrUPs5WIpGeFtKDDYkai2ANZgEu0yB0qYvjVb2SI8nFh9cSyfdBOw/7xM X-Received: by 2002:a17:902:43e4:: with SMTP id j91mr16462821pld.147.1547764625986; Thu, 17 Jan 2019 14:37:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547764625; cv=none; d=google.com; s=arc-20160816; b=A75EgnCwEs4c7k2db4QgtdNBanip3VM10ZEFDcTJZBTOWwmHJXhYn9hh/NxmgdXUmK BgI3GN2cpY6hhpsGi7Ft3kVULfDqCupua+BZu28Hb2Kn+rLVTyQP9Tp+T+0xE/Ihb8lK NNpftpFgIxZrk8RWx3DzY1Pq1hFW9Txu6PaH0ckCFGvY472arK3SomAj8rqUaNUYJouy duus68XoT78f79aY9OjuQqq3X9XQ3PgeDY2lWh/H1xhiU77kwPN/cM9b/FvT/BNgPlU3 95ZY/D58jk6BtGQ4oTMcpWK+28diSI7+vFadTWPL1NqPnKFdEDHBOcSwFl//0TdvVOiv oSDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=FGQBy8kKS4W6KhMWkkRoiTN+EPx+mmeprc0v0hXkFlE=; b=hDGD8U+h12ukMlaGuD/0rwYLjpc9iRKuv9AwDFi+9ZyEvBfAzRRWiB70JVrV9KowRu 9sfr8LbvjA+srJSyC72JlI/zO/L8zaoyIXz9mch9dtAE20dcLQV/uTE6kbfcsuva8tHg DOS/q2yRWavvygXkiwGnKTHtbliNsEkdsk0dfNrJyesIWLRjtiFkWdvY/0txeFCx3nkF bW9bkIG7tgU/p4WzEX8Fdc+urtGGRAtgH53At9jM3q6+aaYfHsrhgYn044EhADaQg3LC ilahLgYGfdC3XDisnl/+6hvZD2HG3EHcI50KitD1eUSWar3SV+lKA2RfR1OCLE1cs1uA Bk2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b=LGzX55+m; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d13si2784909pgh.196.2019.01.17.14.36.47; Thu, 17 Jan 2019 14:37:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b=LGzX55+m; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726946AbfAQWdy (ORCPT + 99 others); Thu, 17 Jan 2019 17:33:54 -0500 Received: from outils.crapouillou.net ([89.234.176.41]:34292 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726874AbfAQWdw (ORCPT ); Thu, 17 Jan 2019 17:33:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1547764430; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=FGQBy8kKS4W6KhMWkkRoiTN+EPx+mmeprc0v0hXkFlE=; b=LGzX55+m3fuePMBM5fxIv489vBDUQn717ObR3Jrq56eXzazCl13Z01wzSd9ICFnzK8QQf7 yxrrC5Ui9+G4HR28rFbuO2bJuY1a2MmNXtzRLVfwnb+yl/lCS5MjhrxBJ+uanuhsaPfABv QIVQ3ZG7waa/4IuI7faeg4R2OP3Q4pE= From: Paul Cercueil To: Bin Liu Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Cercueil Subject: [PATCH v3 4/4] usb: musb: Kconfig: Drop dependency on CONFIG_USB for jz4740 Date: Thu, 17 Jan 2019 19:33:30 -0300 Message-Id: <20190117223330.16631-4-paul@crapouillou.net> In-Reply-To: <20190117223330.16631-1-paul@crapouillou.net> References: <20190117223330.16631-1-paul@crapouillou.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Kconfig entry previously depended on USB_OTG_BLACKLIST_HUB unconditionally, which is an option that is only available when CONFIG_USB is enabled. However, the USB IP in the JZ4740 SoC does not support host mode, only gadget mode, so it makes sense to allow it to build when CONFIG_USB is not set. Signed-off-by: Paul Cercueil --- v2: Instead of removing the dependency on USB_OTG_BLACKLIST_HUB, we now depend on (USB=n || USB_OTG_BLACKLIST_HUB) v3: No change drivers/usb/musb/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig index 6f5b0ed6a507..fda7691bf173 100644 --- a/drivers/usb/musb/Kconfig +++ b/drivers/usb/musb/Kconfig @@ -113,7 +113,7 @@ config USB_MUSB_JZ4740 depends on NOP_USB_XCEIV depends on MIPS || COMPILE_TEST depends on USB_MUSB_GADGET - depends on USB_OTG_BLACKLIST_HUB + depends on USB=n || USB_OTG_BLACKLIST_HUB config USB_MUSB_AM335X_CHILD tristate -- 2.11.0