Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754835AbbKQVCJ (ORCPT ); Tue, 17 Nov 2015 16:02:09 -0500 Received: from mout.kundenserver.de ([212.227.126.134]:50489 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752009AbbKQVCH (ORCPT ); Tue, 17 Nov 2015 16:02:07 -0500 From: Arnd Bergmann To: Peter Chen , gregkh@linuxfoundation.org Cc: linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] USB: USB_OTG does not depend on PM Date: Tue, 17 Nov 2015 22:01:37 +0100 Message-ID: <7521777.8ZmnT3AlIC@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:v3yeqnoyIAjcmZwJzdw1zjfTnlHjPn+mKTS6qrhpbY4VePxP8RA 7ptSfTKO/OYAFtHhAFprBZcAQM+xs+YRkpW06cFLW/Y7sOf0FSNm8V3ZvayohRwQiwUIxHN REy4YF4tQgM0NYw9WOSlkKceO/2fSZc2+AyP9DST6/5ytKUH6WfWOO1HvJrRemur6BSntr0 +6x0uko6vaiqQku+VzYxA== X-UI-Out-Filterresults: notjunk:1;V01:K0:lKkyISfaeMw=:e2IOaEEI9q7GpVviGAIhM4 tmyKMQtybVzvPW3kGyq8L1ZBAGnt1VvVvB02eO9ehQqEiUjGqMY9db5B8YYwYVvikGQppuT2T hY9fe61BF9Un7/C8VuJ7TUyFXZlCpJS7+8ddLauuDhaIQweQ6d+znj2XJ7JzdkD4EqbBzO7Gx DfsXCrGv02SZ4JMvXv/+wtdm+Ne7W2HJP3OcKdvZXv6x+3GwcFzikRSZNUpVwdukyYiSZPKgQ ULbeJ+UJwM1/GyMzjPEfiwmwstRMauYAZKURsvtRlYqtlhIPLzGzjNiUjMUZK74EkBrbfc2NQ isGoVT+pgGRbdIijL+POMHFJmfmo/YSLc2Jbd/bpLVkMiNSgJOkKh6ZFNR9vCM62+R+R1gMsC tGfy+1qXY1PUTaWNkj+MKF918SqlSGWH1TsLTMDPGxlRxoSVNklqGyiNYt8OC/ghOmJqu5l+7 N33k/LC7x6NXhl9H6Lm+hLnCTAbZIw7D50uvzGS6nw/nkYxU0PkyCdZLeS+OH+mH2azW5q5j3 NCgvN03mDRPAbTdbJjqtgKnGBB5iqCLo3iMRxwy13kfVpZ2V92fbsHKoCCWAvW7KCl8TptLgi 5OyZCHf2rgRHagWUuxAiw1JQW82I8//kUKsgmKbH4sU8nN3+3NiB3IKxnoAiUOzvclINFfZgA JKQbLK2QYl7FGpI8vUAK4xVVIBi96XvJhANXu7Qfdlx5U+IbvVlv5tE4aydP65zvVfvvnNm6X dhsP7YoOh3iBoxGu Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1220 Lines: 33 USB_OTG initially depended on USB_SUSPEND, which was later turned into PM_RUNTIME and finally into PM. I don't know at what point the dependency became unnecessary but it appears to work fine without CONFIG_PM now. However, we get lots of warnings in randconfig kernels like: warning: (USB_OTG_FSM && FSL_USB2_OTG && USB_MV_OTG) selects USB_OTG which has unmet direct dependencies (USB_SUPPORT && USB && PM) whenever CONFIG_PM is disabled and something else selects USB_OTG. Let's just drop the dependency to avoid the warnings. Signed-off-by: Arnd Bergmann --- I keep seeing this one in my ARM randconfig test diff --git a/drivers/usb/core/Kconfig b/drivers/usb/core/Kconfig index a99c89e78126..9c5cdf30ca74 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/