Received: by 10.223.185.116 with SMTP id b49csp1141163wrg; Fri, 23 Feb 2018 12:40:06 -0800 (PST) X-Google-Smtp-Source: AH8x225G4oesTRYuLvp9pDZEb6cfYqkA9r84j1pibCTAy/ULi61dEf3+FKHG4F4Gdm8ZbLzEBemK X-Received: by 10.98.88.1 with SMTP id m1mr2943858pfb.178.1519418406398; Fri, 23 Feb 2018 12:40:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519418406; cv=none; d=google.com; s=arc-20160816; b=YRVWCgZFiLcY2FKfAXXwSRqfKOhBFDm4UDYJ67m7zVstktRszvuFfwLtSmKJwbJw7B lgbqQUJx7w2tmE3HxzI04EoIZnMWsahZMKtB2MnmE32YvVpQCeApsXF/4SydIC2PCyt/ SLEBBSkPTpxjyHZXvCoaxGXWdk3kM6KvH5wqXKbNmJDERqRU+weHZzTG/OVSwXEEIvAU TpkqhQtUnYdYyx1bouWNOrik5MPz0Q95wOM6HD8+fLDsJThUDxXJKFQ3KuQTgj6omOng Zg8Tn7DD4HMZaOG8CeseoNs9971KBfN3OeULqd4KeKsiNH12kOrwQ6jwseCNFU9mwL7f Unsw== 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=gyGhAW3OenUyqHFL9mK+0NAmpkNu8rTFrurti50tG9c=; b=MjOP2YPFqp2vW8n7raoCfNkaLTf2psFHEHiKUW8R9K4we9W4NW8QB9F0qA5vWvYhoY Jmi9yuCXLpLkFk8cFUrBhCw2ntqXnjf3KpUwB53EZe5ouOVlGCentKNS+GXaZyou+nWz h8ezaYnssFMO9b+IMH9NmPpxfcyv59/wbum2ojD01eAXAbg7LL2S10WMDSPxECCwCw0d yI+9kfzKEdbPCwEdHCpV7aBe3GfKDCUHLsm4JKF2VAVK22I1PE9Rg3zDUNu+XDT310X2 qYJ621+cFraOkOGvfDo91dc4o4PY13CYxmzA06Og9Z65ad0D3BAw33Yq9hzTyht0N9yp HFSA== 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 z125si1913370pgb.555.2018.02.23.12.39.51; Fri, 23 Feb 2018 12:40:06 -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 S1753457AbeBWSeI (ORCPT + 99 others); Fri, 23 Feb 2018 13:34:08 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:36740 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753401AbeBWSd7 (ORCPT ); Fri, 23 Feb 2018 13:33:59 -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 B5B35121B; Fri, 23 Feb 2018 18:33:58 +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.4 030/193] usb: build drivers/usb/common/ when USB_SUPPORT is set Date: Fri, 23 Feb 2018 19:24:23 +0100 Message-Id: <20180223170330.781043957@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180223170325.997716448@linuxfoundation.org> References: <20180223170325.997716448@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.4-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 @@ -96,6 +96,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/