From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753220AbcHPHaa (ORCPT ); Tue, 16 Aug 2016 03:30:30 -0400 Received: from mga01.intel.com ([192.55.52.88]:43408 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751261AbcHPHa2 (ORCPT ); Tue, 16 Aug 2016 03:30:28 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,529,1464678000"; d="asc'?scan'208";a="1015077774" From: Felipe Balbi To: Masahiro Yamada , linux-usb@vger.kernel.org Cc: Masahiro Yamada , Arnd Bergmann , linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Peter Chen Subject: Re: [PATCH] usb: remove redundant dependency on USB_SUPPORT In-Reply-To: <1469175798-6282-1-git-send-email-yamada.masahiro@socionext.com> References: <1469175798-6282-1-git-send-email-yamada.masahiro@socionext.com> User-Agent: Notmuch/0.22.1+63~g994277e (https://notmuchmail.org) Emacs/25.1.1 (x86_64-pc-linux-gnu) Date: Tue, 16 Aug 2016 10:29:34 +0300 Message-ID: <87shu58941.fsf@linux.intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, Masahiro Yamada writes: > The whole Kconfig entries of the USB subsystem are surrounded with > "if USB_SUPPORT" ... "endif", so CONFIG_USB_SUPPORT=3Dy 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(-) > > 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 >=20=20 > 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. let's split this patch in two so different maintainers can pick the relevant pieces. Thanks =2D-=20 balbi --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXssDeAAoJEIaOsuA1yqREJHgQAJYcqsTfxgLpm3Zi3TsLpdmH Wf+9/43l9g/bim88/xWtVoypzIfNGdwGvH1ytBZH1YXFP7fdYctMXP6gRlca12xC snZZjocVIVf9T92Xkl4lv9HGmp/y88FqUdYW9WLXlIf0G12qI9X6b2938bn5pUoU Z/9nmZ6nHltNlQzjVKmzLZhL4uO2fW3dxmojhoi143OA2d9N/HG3JFB9plyPMETj O/pjMIoCnC4MaVJojnr8PODGP7eXtHv0hIudH7mptLjtt2/JdUTUfOMbJVAX0Vpr 0kfwFByJuNMGbqmvpMKw7W3PMJZhpEx+iE52ZKIAg1BVcuDmTffPhZiP20q4OOvL io3dDcIBOyBe2qz2+HIfrSBgzjD7E/wx39wV1h4ZvZ54wd997P3fbTnkVu5vDfFf K3NJ1HKEnVtR2bny5FscYbfn9KRptZSqEEbihKQMVk0Sp3YgYHK3RJU/oHtoxOZO Q80Qr/VftPn19Z9pPpY+/4MJJYseJJzDmxiZL8AggbHmuKDHx98HIrRV80VzMkDI M5oi3JB63ozpb6VpnbnVtu4y2iws1JXQkW3VCF+wtyFoa8ipLkfQrTnnGmBZPFkU pRoF3Uaofmr7FjONrWSk+6ZjIXgR98CFas8kQQhQHxXlhMXsgtA9zpejZc+gvOb0 GB7J3pOb/g1SZxXTINRn =/ZVN -----END PGP SIGNATURE----- --=-=-=--