Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1933514imu; Thu, 10 Jan 2019 05:38:51 -0800 (PST) X-Google-Smtp-Source: ALg8bN7cHOSp66deitRnlBbxt0h3LG9GvAsKFlCgFzbjMKGY9t1RCxfyWumz194hgKeqdhT9fOTt X-Received: by 2002:a63:484c:: with SMTP id x12mr9347661pgk.375.1547127531197; Thu, 10 Jan 2019 05:38:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547127531; cv=none; d=google.com; s=arc-20160816; b=Y8hMJqxPHJ30TznrvYA97AsT9DvkpUKUehT5UKpPUSdH63BjD102lDcGUg7sooGLFO Fjn/CDxg7tUhb/1NKt2dUfrCWDRTJAjLPQ4DVCcfdt2fVU/BjYYxHjGJDyBWMMo+AF4y TP6S6GWMMBX7J3aQCO4dUK/qarn1Z3LxFF6htwfwa6mIwMdyr8MNuWpuO9+ptA5iytif IDaL3BkaZF17QuStnwqgg51Meht8FDY2DLs85KMrahU6b3SbW6JK4hyPFVF3Dr/FSiK5 +S2CNxPMQPo9EP1MSE/Kyfx1TKRq2YWgHVZESjl+uWHSpr2SbR6BvENHaTa3BJdwsaSg juiA== 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=twckhWTGipZMTVScxSG6peggV/g7UY/bFgfeAzuiA2k=; b=O6kwIJwUOIrrt2tLVRKQqyv8A7kn7QyY7Km4i2dopHKee/itdqp3szbkDeCtSbTtVL NLr3Bmu96orYY/74xbZc6GryacbouoDUGTB4qc3iAZzDM3lOQcIK0+/c6cTSef1PA6ie j+dQKiu21F3M/h5nkF8gql4aU850iXzk0YcSk8A/x/l9BEuDJORZAukGwdTrFeXO7Eze 5CKQWCAjylv2qtwXI/NC+JmRrIqzzp8xGif55l7xr8+HcXv5tGx1IXqsk2uzogs+8rYO +cRDCLSdz67IVlBYPSe3WJRlGAHaCVJ4EUJVTnhhgIhurXZT7gGDFdVIaz1c7xQFUEq4 eCSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b=R2IeLg9h; 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 l23si67028031pgh.533.2019.01.10.05.38.36; Thu, 10 Jan 2019 05:38:51 -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=R2IeLg9h; 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 S1729024AbfAJNhZ (ORCPT + 99 others); Thu, 10 Jan 2019 08:37:25 -0500 Received: from outils.crapouillou.net ([89.234.176.41]:51578 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728733AbfAJNhV (ORCPT ); Thu, 10 Jan 2019 08:37:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1547127438; 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=twckhWTGipZMTVScxSG6peggV/g7UY/bFgfeAzuiA2k=; b=R2IeLg9hfc96AeXDO5+WW9h+XwU4UZ2QDMsCzyHc0S4RVKn/sJWAy6xNdwLypzdzjQbm6L Nkfj44ruSvONj9COFHobWcVIxUe/Z/ynTyu/wEbEdcbaLvV5ZN/a9vf1INF9QaWQD2rV8f GX24JecMikaFpfqy0OjhYquH9xjUrfs= 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 v2 4/4] usb: musb: Kconfig: Drop dependency on CONFIG_USB for jz4740 Date: Thu, 10 Jan 2019 10:37:00 -0300 Message-Id: <20190110133700.4471-4-paul@crapouillou.net> In-Reply-To: <20190110133700.4471-1-paul@crapouillou.net> References: <20190110133700.4471-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) 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