Received: by 10.223.185.116 with SMTP id b49csp1077599wrg; Fri, 23 Feb 2018 11:30:46 -0800 (PST) X-Google-Smtp-Source: AH8x226G9eorubW+h8kgrYZ9H8k4NQj53gs/g5n4a1lT90CiWZGJkGcusc1g5LkkYIoUOElw5oi1 X-Received: by 2002:a17:902:7c92:: with SMTP id y18-v6mr2679579pll.58.1519414246575; Fri, 23 Feb 2018 11:30:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519414246; cv=none; d=google.com; s=arc-20160816; b=DivHr3prl3Nay0ROXo7Ek6BQKTXxlb+gQlQyDc7qHGAnL194K16Ursx2rNvwcGfzmi SxDQf1mSVNa5295pdojuniNwi4wYyfu/fx13RAQ3olZPQlRAfdsQ0SDxEtowrWYp1vCZ U2gVyH3EuPqx1Ss+cUsu2NnHAuZ7KWySL/H2f4KWWNv6aJrqoWqPA/eXxvAuuYhN3uMU A2rTHeqFopqzcc1y9OP3pe7h4xffFddKgvdfreROEpjkQdrqiIK8cyuhBLmwlcHWeX0C OINdg3PvB+9JHH8RoCDc2xF99C+747LR+1eqjduzeDDwqi/g6/o0wlWVxiCgDqJLZqJD YJwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=CVZBSW/L4UqgFMD5cbuhWG2tS3wP1f94jvEm24epknU=; b=oniIFNkgZSrxBXtymxYPxS/kbPWDQS7n+Kr7BYq68ILEbg7svZtYZF37MmV3OieKKC 8oVoIKG+MXA4xjjNOihkUrnoOXdCop8+xBoWuJn7Rd/y7V5wVDM2k+9Usdcpqc9bg18M t7jApM/CsZ+icjzo6ha3o2BrtUhLre2iAxzbPiYIPJOCQVZZe3gsnhC9Wtz+EbJOdfsC L+VEgjgmLdtxL0OIcOSpxCYK+TrS5SHzeH/GN3i1T2/Np5m2oTW1A0hYpoTTjdhzoDET zb/eEyc5oVPhYWlz/Jr7CAlfTu1ScEZo9be35k1sRIC3eLpMPnIue3VvVaJDba0cVE6a AIIg== ARC-Authentication-Results: i=1; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u11si532518pfh.197.2018.02.23.11.30.32; Fri, 23 Feb 2018 11:30:46 -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 S1754695AbeBWT3s (ORCPT + 99 others); Fri, 23 Feb 2018 14:29:48 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:46186 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935030AbeBWSvw (ORCPT ); Fri, 23 Feb 2018 13:51:52 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 656AC890; Fri, 23 Feb 2018 18:51:51 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Randy Dunlap , Sasha Levin Subject: [PATCH 4.14 059/159] usb: build drivers/usb/common/ when USB_SUPPORT is set Date: Fri, 23 Feb 2018 19:26:07 +0100 Message-Id: <20180223170750.741294825@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180223170743.086611315@linuxfoundation.org> References: <20180223170743.086611315@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Randy Dunlap [ Upstream commit c9d24f78268be444e803fb2bb138a2f598de9c23 ] PHY drivers can use ULPI interfaces when CONFIG_USB (which is host side support) is not enabled, so also build drivers/usb/ when CONFIG_USB_SUPPORT is enabled so that drivers/usb/common/ is built. ERROR: "ulpi_unregister_driver" [drivers/phy/ti/phy-tusb1210.ko] undefined! ERROR: "__ulpi_register_driver" [drivers/phy/ti/phy-tusb1210.ko] undefined! ERROR: "ulpi_read" [drivers/phy/ti/phy-tusb1210.ko] undefined! ERROR: "ulpi_write" [drivers/phy/ti/phy-tusb1210.ko] undefined! ERROR: "ulpi_unregister_driver" [drivers/phy/qualcomm/phy-qcom-usb-hs.ko] undefined! ERROR: "__ulpi_register_driver" [drivers/phy/qualcomm/phy-qcom-usb-hs.ko] undefined! ERROR: "ulpi_write" [drivers/phy/qualcomm/phy-qcom-usb-hs.ko] undefined! Signed-off-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/Makefile | 1 + 1 file changed, 1 insertion(+) --- a/drivers/Makefile +++ b/drivers/Makefile @@ -105,6 +105,7 @@ obj-$(CONFIG_TC) += tc/ obj-$(CONFIG_UWB) += uwb/ obj-$(CONFIG_USB_PHY) += usb/ obj-$(CONFIG_USB) += usb/ +obj-$(CONFIG_USB_SUPPORT) += usb/ obj-$(CONFIG_PCI) += usb/ obj-$(CONFIG_USB_GADGET) += usb/ obj-$(CONFIG_OF) += usb/