From patchwork Thu May 8 13:52:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 4136331 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 9239FBFF02 for ; Thu, 8 May 2014 13:54:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CBC2E20253 for ; Thu, 8 May 2014 13:54:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 00ADE201D5 for ; Thu, 8 May 2014 13:54:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753096AbaEHNwm (ORCPT ); Thu, 8 May 2014 09:52:42 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:52832 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752329AbaEHNwk (ORCPT ); Thu, 8 May 2014 09:52:40 -0400 Received: from wuerfel.lan (HSI-KBW-134-3-133-35.hsi14.kabel-badenwuerttemberg.de [134.3.133.35]) by mrelayeu.kundenserver.de (node=mreue101) with ESMTP (Nemesis) id 0Lvjxc-1WuT5L23X2-017TVL; Thu, 08 May 2014 15:52:35 +0200 From: Arnd Bergmann To: Greg Kroah-Hartman Cc: Felipe Balbi , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Arnd Bergmann , linux-omap@vger.kernel.org Subject: [PATCH 3/8] usb: musb: omap2plus bus glue needs USB host support Date: Thu, 8 May 2014 15:52:16 +0200 Message-Id: <1399557141-1346645-4-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1399557141-1346645-1-git-send-email-arnd@arndb.de> References: <1399557141-1346645-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:2aIqxpQfD4YDN/OHLnpFk9bXmE7PCJWeojyzrhlcz1q JWUkNRGFTAwOUMqzaXPqIZjTiGZWXRlJ/KyvZ886VjaSzIt4Lw FJv4xphBCwp7SZ6sjbXIhdJAQkvA+18B8O/aCgZVoNofCETBiT YOnH20n9oOgQiCtWuP5ZN9wFi6FmUPK0C13HPKPP34XY9ewEPV NNZzTe+/Jy4lYLZslAXYek6lsen0biDMKTOr1yemf/YeyYGrzS AHlGt7dgwFQwt4fcli2Pef8GvJu3svOJ3lQitBE8fCYlN7zABj whnFuPZCdJk90of1YWg2fEjksQKDhIXcJOz06FKliqfNve4iKJ l3+RgH3vts+qWT9zuv+pcHzwwIjPX43+2gnvyyzxs Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The musb/omap2430.c bus glue driver calls usb_hcd_poll_rh_status, which is only available if CONFIG_USB is also set, i.e. we are building USB host mode and not just endpoint mode. Signed-off-by: Arnd Bergmann Cc: linux-omap@vger.kernel.org --- drivers/usb/musb/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig index 618b152..fce762c 100644 --- a/drivers/usb/musb/Kconfig +++ b/drivers/usb/musb/Kconfig @@ -76,7 +76,7 @@ config USB_MUSB_TUSB6010 config USB_MUSB_OMAP2PLUS tristate "OMAP2430 and onwards" - depends on ARCH_OMAP2PLUS + depends on ARCH_OMAP2PLUS && USB select GENERIC_PHY config USB_MUSB_AM35X