Received: by 10.223.185.116 with SMTP id b49csp1101067wrg; Fri, 23 Feb 2018 11:58:42 -0800 (PST) X-Google-Smtp-Source: AH8x226hbR51Z3C2tq2FepLqGSPXWpE3UCIrR7qbcQttryMUDRBtUg/maMYPJ9g8f8v0GR5TFvD7 X-Received: by 10.101.64.197 with SMTP id u5mr2298008pgp.23.1519415922741; Fri, 23 Feb 2018 11:58:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519415922; cv=none; d=google.com; s=arc-20160816; b=MFZ2LTKkmrMlnlh3FMV7pZ3JMqJlSJKfDE9DxwIdFpIj0qQkAU6p0nRv9pSOPNl/LN P0RBj11ClyIPg96j9JqkHhj0Wd2GbzPbMl/9Vr6//M1voNUZHGybgqzTtkA8SKTuaOeo sxXwAzxnr1wEMcBa799utIvqh+39xPfjNL2pvuTwDyBq8E1iiWeMSnajtrFesnYaeXJJ iRU71R0J8ThjxSqbtgm1E1c0Bpw23uWBGUr8ZRg0L2CYWF1cJydCNBCAaGSaPXge45MW zKLEfK/s1EWNAaV3/XT0SNJIbUl8SAjWG8v0gmEFQSTOkN2EI7Rk1j5+y3PrOV7BWpKc mjtQ== 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=JxE1S0kcaZITK3rYd17jtbhbiPpLWaV6UsldkSOYrfA=; b=ksP+p7wc/ukojRh89C1hKm6y+15NHByhPSx7N15fCQ/9sa8U7CNdYEiEgm3Rb8yQz6 rqlizCbfn5/ueELhrQslXT4IpFRC0SBIuibqhuv7mYUnhXGznv22JWdXYUl/kYcZxcQ5 sXGObDz2i/K9qTaADXceBUanPkcCHQ8c+3T7szPdnmXHA8y8W6Y0trS9lVymZjzTLpBC jOaXv4QTRDdZ/YL+5bKw2PVMc80zMFsoKcQG81e/jnfFaPRuJanLn8c8ZKU4brdTX3TI p0rzcRMctEyRJUfw2ovkD62EIURsqlgtQ2ibjvSlTA+lGWlneq2fvoAvdlvkBc5Rnit2 qS/A== 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 q11-v6si2175590pll.379.2018.02.23.11.58.28; Fri, 23 Feb 2018 11:58:42 -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 S933552AbeBWSoW (ORCPT + 99 others); Fri, 23 Feb 2018 13:44:22 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:42514 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933538AbeBWSoS (ORCPT ); Fri, 23 Feb 2018 13:44:18 -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 C6F04121A; Fri, 23 Feb 2018 18:44:17 +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.9 042/145] usb: build drivers/usb/common/ when USB_SUPPORT is set Date: Fri, 23 Feb 2018 19:25:48 +0100 Message-Id: <20180223170730.327049708@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180223170724.669759283@linuxfoundation.org> References: <20180223170724.669759283@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.9-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 @@ -99,6 +99,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/