From patchwork Tue May 19 13:02:28 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 6436941 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 94979C0432 for ; Tue, 19 May 2015 13:03:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 91F562041A for ; Tue, 19 May 2015 13:03:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6C70C2052F for ; Tue, 19 May 2015 13:03:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932509AbbESNDH (ORCPT ); Tue, 19 May 2015 09:03:07 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:55012 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932284AbbESNDF (ORCPT ); Tue, 19 May 2015 09:03:05 -0400 Received: from wuerfel.localnet ([149.172.15.242]) by mrelayeu.kundenserver.de (mreue104) with ESMTPSA (Nemesis) id 0MIezY-1YsVJ8118S-002EqA; Tue, 19 May 2015 15:02:30 +0200 From: Arnd Bergmann To: Kishon Vijay Abraham I Cc: linux-kernel@vger.kernel.org, Tony Lindgren , Bin Liu , Brian Hutchinson , Felipe Balbi , Matthijs van Duin , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] phy: add dm816x dependency on USB_PHY Date: Tue, 19 May 2015 15:02:28 +0200 Message-ID: <3934365.TiRUES6WLp@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:ACYYgQ7Gc3gaoHXJgrytZY6YUNUj6nP0UdteZ5Ss794midYZ78x bQfjjT+XgvVaSskn+f4i6RF1QX/Z1t/2/XPvxJCO7rrSPX2B91wkfTOMYggi6lg8CffaHCi sc4TWZ21yeHK89p7DgEmV00BtDjxiKaz2WTo8Y2sg4BjUGaCIUW7Kw6HZoHpSRpZgf/Ytp6 ycWXjWyOC6zvtOeet/q/A== X-UI-Out-Filterresults: notjunk:1; Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_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 newly added phy-dm816x-usb driver depends on the usb phy API and fails to link if that is disabled: drivers/built-in.o: In function `dm816x_usb_phy_remove': :(.text+0x3a28): undefined reference to `usb_remove_phy' drivers/built-in.o: In function `dm816x_usb_phy_probe': :(.text+0x3c18): undefined reference to `usb_add_phy_dev' This adds an explicit dependency in Kconfig to avoid the build error in randconfig tests. Signed-off-by: Arnd Bergmann Fixes: 609adde838f4 ("phy: Add a driver for dm816x USB PHY") --- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig index fceac96c2a31..1b5c235562c9 100644 --- a/drivers/phy/Kconfig +++ b/drivers/phy/Kconfig @@ -37,7 +37,7 @@ config ARMADA375_USBCLUSTER_PHY config PHY_DM816X_USB tristate "TI dm816x USB PHY driver" - depends on ARCH_OMAP2PLUS + depends on ARCH_OMAP2PLUS && USB_PHY select GENERIC_PHY help Enable this for dm816x USB to work.