Received: by 10.223.185.116 with SMTP id b49csp1026440wrg; Wed, 21 Feb 2018 10:47:54 -0800 (PST) X-Google-Smtp-Source: AH8x227oKjBtGvqD3IbS9HhDfA/xoI7P+fgo4GiFNX0UB093RT9QN79JzG6V8wVJkjNRTd4ub5Mx X-Received: by 10.101.97.3 with SMTP id z3mr3511886pgu.44.1519238874556; Wed, 21 Feb 2018 10:47:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519238874; cv=none; d=google.com; s=arc-20160816; b=Tefe9cbKK4uk5eoJJdSFY3Av/KGAqq9yWJllZNMxCzp4p2USsTIJsJ7GJpsZcHW9gl Ni+k8cAcyexoUBQlQzmUIoHyzNkyHtyDvgTr4wZPJWKGhfitrKpZpys1pCC4EhrsuPlx L0WMNvUxCkyXiL8Tz43NMGJKhgirv00xCN+4ra5XZ03rjT7MDazJecy6/KClKVsEPCxr PF7VxNtloUk5J8WcI0aLAyFE3Wm6n36oqLRmAHiW6kdKvPKhxg1EO0wzli8jBL5I7lZi kngh/S0u30QJazh+kp2Ddf7VOqGhSpvHxhkYeiR6mm5QkERJYjOIIVzGJX5yGNarRzwp hyZA== 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=28u55Ujy9BX5tBebhR1wqMJukLn5DhV6sH0cDA1NDS0=; b=r9JHZfJ5jyQIpiHkpawKaohg0vsg4s3SUJfg6mXenmpKzM1EaA4+/2VlOB9tDiD9wl Egtr5YRygu+8QFsNhPQMBokXze1vFUAl4Gkmd/YJEbnHXsaE6uBJgVkZtxghJh1XRQ66 X1sZqgswsOR0tTKJymb5cZUhUGqevpL5Ahfgm7zZH8dyMg8ojYgOkTsAXYu6Nquli8ZL 3gmXYsx4k2I73V0gvH4emsiVDG2VT4Q0nA9aJv8ELY/gefQox1Rky2StaBA3rtajemL0 iOIUfUjp9ni0Fy6HwP/8x/hUtt+fMH0uelUPlIS/aeEnYxG48DOTI2bfbg855+8oV5pj VWNw== 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 g3si9340163pfe.57.2018.02.21.10.47.39; Wed, 21 Feb 2018 10:47:54 -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 S936917AbeBUNvs (ORCPT + 99 others); Wed, 21 Feb 2018 08:51:48 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:40390 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936018AbeBUNFm (ORCPT ); Wed, 21 Feb 2018 08:05:42 -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 1144011BE; Wed, 21 Feb 2018 13:05:41 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, James Hogan , Corentin Labbe , Ralf Baechle , Paul Burton , linux-usb@vger.kernel.org, linux-mips@linux-mips.org Subject: [PATCH 4.14 151/167] usb: Move USB_UHCI_BIG_ENDIAN_* out of USB_SUPPORT Date: Wed, 21 Feb 2018 13:49:22 +0100 Message-Id: <20180221124533.069049354@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180221124524.639039577@linuxfoundation.org> References: <20180221124524.639039577@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: James Hogan commit ec897569ad7dbc6d595873a487c3fac23f463f76 upstream. Move the Kconfig symbols USB_UHCI_BIG_ENDIAN_MMIO and USB_UHCI_BIG_ENDIAN_DESC out of drivers/usb/host/Kconfig, which is conditional upon USB && USB_SUPPORT, so that it can be freely selected by platform Kconfig symbols in architecture code. For example once the MIPS_GENERIC platform selects are fixed in commit 2e6522c56552 ("MIPS: Fix typo BIG_ENDIAN to CPU_BIG_ENDIAN"), the MIPS 32r6_defconfig warns like so: warning: (MIPS_GENERIC) selects USB_UHCI_BIG_ENDIAN_MMIO which has unmet direct dependencies (USB_SUPPORT && USB) warning: (MIPS_GENERIC) selects USB_UHCI_BIG_ENDIAN_DESC which has unmet direct dependencies (USB_SUPPORT && USB) Fixes: 2e6522c56552 ("MIPS: Fix typo BIG_ENDIAN to CPU_BIG_ENDIAN") Signed-off-by: James Hogan Cc: Corentin Labbe Cc: Ralf Baechle Cc: Paul Burton Cc: linux-usb@vger.kernel.org Cc: linux-mips@linux-mips.org Acked-by: Greg Kroah-Hartman Patchwork: https://patchwork.linux-mips.org/patch/18559/ Signed-off-by: Greg Kroah-Hartman --- drivers/usb/Kconfig | 8 ++++++++ drivers/usb/host/Kconfig | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) --- a/drivers/usb/Kconfig +++ b/drivers/usb/Kconfig @@ -19,6 +19,14 @@ config USB_EHCI_BIG_ENDIAN_MMIO config USB_EHCI_BIG_ENDIAN_DESC bool +config USB_UHCI_BIG_ENDIAN_MMIO + bool + default y if SPARC_LEON + +config USB_UHCI_BIG_ENDIAN_DESC + bool + default y if SPARC_LEON + menuconfig USB_SUPPORT bool "USB support" depends on HAS_IOMEM --- a/drivers/usb/host/Kconfig +++ b/drivers/usb/host/Kconfig @@ -637,14 +637,6 @@ config USB_UHCI_ASPEED bool default y if ARCH_ASPEED -config USB_UHCI_BIG_ENDIAN_MMIO - bool - default y if SPARC_LEON - -config USB_UHCI_BIG_ENDIAN_DESC - bool - default y if SPARC_LEON - config USB_FHCI_HCD tristate "Freescale QE USB Host Controller support" depends on OF_GPIO && QE_GPIO && QUICC_ENGINE