From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755053AbbJ0WVT (ORCPT ); Tue, 27 Oct 2015 18:21:19 -0400 Received: from skprod2.natinst.com ([130.164.80.23]:44884 "EHLO ni.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754867AbbJ0WVQ (ORCPT ); Tue, 27 Oct 2015 18:21:16 -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: [PATCH V2] usb: remove unnecessary CONFIG_PM dependency from USB_OTG Date: Tue, 27 Oct 2015 17:21:11 -0500 Message-Id: <1445984471-7955-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-MGWOut1/AUS/H/NIC(Release 8.5.3FP6 HF1218|December 12, 2014) at 10/27/2015 05:21:13 PM, Serialize by Router on US-AUS-MGWOut1/AUS/H/NIC(Release 8.5.3FP6 HF1218|December 12, 2014) at 10/27/2015 05:21:13 PM, Serialize complete at 10/27/2015 05:21:13 PM X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2015-10-27_17:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The USB OTG 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 | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/usb/core/Kconfig b/drivers/usb/core/Kconfig index a99c89e..567454f 100644 --- a/drivers/usb/core/Kconfig +++ b/drivers/usb/core/Kconfig @@ -43,8 +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 "Dual-Role" device, which can act as either a device -- 1.7.10.4