From patchwork Wed Jan 20 10:56:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 101152 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp3099780lbb; Wed, 20 Jan 2016 02:56:43 -0800 (PST) X-Received: by 10.98.80.79 with SMTP id e76mr51451857pfb.126.1453287403551; Wed, 20 Jan 2016 02:56:43 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y15si54579822pfi.232.2016.01.20.02.56.43; Wed, 20 Jan 2016 02:56:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935162AbcATK4l (ORCPT + 29 others); Wed, 20 Jan 2016 05:56:41 -0500 Received: from mout.kundenserver.de ([217.72.192.75]:63221 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934534AbcATK4j (ORCPT ); Wed, 20 Jan 2016 05:56:39 -0500 Received: from wuerfel.localnet ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue101) with ESMTPSA (Nemesis) id 0LyV78-1a72Xd1Dmg-015nXq; Wed, 20 Jan 2016 11:56:35 +0100 From: Arnd Bergmann To: Bin Liu Cc: Felipe Balbi , balbif@gmail.com, Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] usb: phy-am335x: clarify USB_COMMON dependency Date: Wed, 20 Jan 2016 11:56:34 +0100 Message-ID: <1749004.q1rSF7t8cz@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) MIME-Version: 1.0 X-Provags-ID: V03:K0:3vtR5Xbkg/TDqZUWNoImzP/XPOGGVz5C7UzjaWegixBfE0Eppom JhMzSobnITmLer+5AQAYWanryQNUpDFm9nF+cz9ggdJZb0E9gGqLjcaqQP/JGaq8bI1LXdm EhcnO4eH5Fs+/9xLBHsCc6oHC0ZLWeb+IVRw8buwMXL693wV5wfmUTIEAqFX3wmgqzFsdkU ggghKCoYz5hhxcyBEGXdQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:y2hfqK2ZuuY=:ky9O9rwdNmsyOkObsK1eWe 5d/0jyh0yXG4tZ8+IJdeFOkXj60lxAy+l2dp7xKImJSqm6vzZ70a+LOlK3TVEjNMKumQcWDZj 801H5H0DAhJWntgqzNCQRyWZM+lfqQJaeAv65iR+qED/YMr1okBpiwPOfqjjmMlOKHVKrGv43 bd9QTWkORamemOYwIz5l1Jl7w+exQoJuOVV0TwN9GhUwLLdczowjxz5fAhdtM3V3laSoIB7NK BME7JmJeyvETe/X/pxq/6hNcuFYXo4A99zvvKxmqvyFBbLfrfVY3y8cXh2DeX8d728It5FuxB 2wzxO6WXO4LQU7UqfS+/0UMIMpbLRAzXujt56VqMV5XOoGIVKZr4ztujmB+3cXA58Bk1zYUj4 kQkzFhoFMCF89+DMDA3mECuFbJrTxzps20vD/205xLrwtK6SqAV+nxN+zvOqzQX6Vi6XbQ0r9 AaicCPhUOc4cey7rpuPvWRUhteYgEopm1V9Wt2kcveoTWyNWR3IgOC0+TZs3X8tat3dv9dAyh jVT4KoXY0Cd+LWNIDz+RcD8JHF9bWAEQj0ES/nDPGEZVrpXyia01HX2ZvlQo9bDvMh0CT6/cC 2oHtS5+q6RgdaM8CG03LqXGZs2hPdSR30yrqkkZcEiebJRSvX+KuDjaIUgVCKgYlF9gMo/095 knrgNL+So0vClibWkLzHH3poOyunm3SMsvkev+tdeQX5llQFqh7eYTGsbcq4tGbbkOL7IXGdQ dUO3hdhEs9P/mqTR Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The phy-am335x driver accidentally selects 'USB_COMMON', which is not correct as that symbol should indicate whether USB host or target mode is enabled, but it might not: warning: (AM335X_PHY_USB) selects USB_COMMON which has unmet direct dependencies (USB_SUPPORT && (USB || USB_GADGET)) This changes the 'select' into 'depends on', as it should have been initially. Signed-off-by: Arnd Bergmann Fixes: 59f042f644c5 ("usb: phy: phy-am335x: bypass first VBUS sensing for host-only mode") diff --git a/drivers/usb/phy/Kconfig b/drivers/usb/phy/Kconfig index c6904742e2aa..29f063c59e1a 100644 --- a/drivers/usb/phy/Kconfig +++ b/drivers/usb/phy/Kconfig @@ -63,10 +63,10 @@ config AM335X_CONTROL_USB config AM335X_PHY_USB tristate "AM335x USB PHY Driver" depends on ARM || COMPILE_TEST + depends on USB_COMMON select USB_PHY select AM335X_CONTROL_USB select NOP_USB_XCEIV - select USB_COMMON help This driver provides PHY support for that phy which part for the AM335x SoC.