From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753319AbbJZXXg (ORCPT ); Mon, 26 Oct 2015 19:23:36 -0400 Received: from skprod3.natinst.com ([130.164.80.24]:35821 "EHLO ni.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753224AbbJZXXd (ORCPT ); Mon, 26 Oct 2015 19:23:33 -0400 From: Nathan Sullivan To: gregkh@linuxfoundation.org, balbi@ti.com Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Nathan Sullivan Subject: [RESEND PATCH] usb: remove unnecessary CONFIG_PM dependency from USB_OTG Date: Mon, 26 Oct 2015 18:23:25 -0500 Message-Id: <1445901805-20442-1-git-send-email-nathan.sullivan@ni.com> X-Mailer: git-send-email 1.7.10.4 X-MIMETrack: Itemize by SMTP Server on US-AUS-MGWOut2/AUS/H/NIC(Release 8.5.3FP6 HF1218|December 12, 2014) at 10/26/2015 06:23:31 PM, Serialize by Router on US-AUS-MGWOut2/AUS/H/NIC(Release 8.5.3FP6 HF1218|December 12, 2014) at 10/26/2015 06:23:31 PM, Serialize complete at 10/26/2015 06:23:31 PM X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2015-10-26_12:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The USB gadget support currently depends on power management (CONFIG_PM) being enabled, but does not actually need it enabled. Remove this dependency. Tested on Bay Trail hardware with dwc3 USB. Signed-off-by: Nathan Sullivan --- drivers/usb/core/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/core/Kconfig b/drivers/usb/core/Kconfig index a99c89e..9c5cdf3 100644 --- a/drivers/usb/core/Kconfig +++ b/drivers/usb/core/Kconfig @@ -43,7 +43,6 @@ config USB_DYNAMIC_MINORS config USB_OTG bool "OTG support" - depends on PM default n help The most notable feature of USB OTG is support for a -- 1.7.10.4