From patchwork Fri Jul 22 08:23:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 72600 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp874564qga; Fri, 22 Jul 2016 01:22:35 -0700 (PDT) X-Received: by 10.98.18.221 with SMTP id 90mr4302320pfs.3.1469175755863; Fri, 22 Jul 2016 01:22:35 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f74si14663591pff.158.2016.07.22.01.22.32; Fri, 22 Jul 2016 01:22:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-usb-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of linux-usb-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752083AbcGVIWa (ORCPT + 5 others); Fri, 22 Jul 2016 04:22:30 -0400 Received: from conuserg-07.nifty.com ([210.131.2.74]:57980 "EHLO conuserg-07.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751417AbcGVIW3 (ORCPT ); Fri, 22 Jul 2016 04:22:29 -0400 Received: from beagle.diag.org (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-07.nifty.com with ESMTP id u6M8LYXx022020; Fri, 22 Jul 2016 17:21:34 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com u6M8LYXx022020 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1469175694; bh=8SlCbkBt+m8ErjLa6LEHl9segDcCiLytbvaN0e+o+kg=; h=From:To:Cc:Subject:Date:From; b=fPo65ABJHHwdz8lxkdqA0k/Zdk6eiVP2xRtp/DN9bPfzCgxjLZKLkVR4+nAPyOhEb sQaRqwwGcSVPOPK/sNIuSvtdVCd0v98UNKSyEPBQpKu92vZEc7bgNpgjqqqBtFQYxW VycvYhjgnwP7vY0bM6s/76i95iMqk7AZV0fU9zQcWuCRS1hetCj0LCmgAyeWcBek9W Gzpb1iKpAsTHzZe2t6l3O5nXEjBe0f1NWXxrgTidaLyblFc9DEcDMyPf77bH15fmHB +EdgFFa7g5/ioNN8TCXOBuol10pHfHfZz08jVhzku8gtwW9zyeDS5/4UqXEhcuniOZ h3+Z4bbdJAIXg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-usb@vger.kernel.org Cc: Masahiro Yamada , Arnd Bergmann , Felipe Balbi , linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Peter Chen Subject: [PATCH] usb: remove redundant dependency on USB_SUPPORT Date: Fri, 22 Jul 2016 17:23:18 +0900 Message-Id: <1469175798-6282-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 1.9.1 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org The whole Kconfig entries of the USB subsystem are surrounded with "if USB_SUPPORT" ... "endif", so CONFIG_USB_SUPPORT=y is surely met when these two Kconfig options are visible. Signed-off-by: Masahiro Yamada --- drivers/usb/core/Kconfig | 1 - drivers/usb/dwc3/Kconfig | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/usb/core/Kconfig b/drivers/usb/core/Kconfig index dd28010..253aac7 100644 --- a/drivers/usb/core/Kconfig +++ b/drivers/usb/core/Kconfig @@ -85,7 +85,6 @@ config USB_OTG_FSM config USB_ULPI_BUS tristate "USB ULPI PHY interface support" - depends on USB_SUPPORT help UTMI+ Low Pin Interface (ULPI) is specification for a commonly used USB 2.0 PHY interface. The ULPI specification defines a standard set diff --git a/drivers/usb/dwc3/Kconfig b/drivers/usb/dwc3/Kconfig index 11864e4..3c6213c 100644 --- a/drivers/usb/dwc3/Kconfig +++ b/drivers/usb/dwc3/Kconfig @@ -1,7 +1,7 @@ config USB_DWC3 tristate "DesignWare USB3 DRD Core Support" depends on (USB || USB_GADGET) && HAS_DMA - select USB_XHCI_PLATFORM if USB_SUPPORT && USB_XHCI_HCD + select USB_XHCI_PLATFORM if USB_XHCI_HCD help Say Y or M here if your system has a Dual Role SuperSpeed USB controller based on the DesignWare USB3 IP Core.