Received: by 10.223.185.116 with SMTP id b49csp1018355wrg; Wed, 21 Feb 2018 10:39:10 -0800 (PST) X-Google-Smtp-Source: AH8x226qKJs7/jeIkWD8dnF3l/IM7UFVWSBhzAo4l1Mqum03Usn5zgmrmWIWv3GqML+LKyg9QB5r X-Received: by 10.99.175.76 with SMTP id s12mr3476057pgo.240.1519238350152; Wed, 21 Feb 2018 10:39:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519238350; cv=none; d=google.com; s=arc-20160816; b=KiVR+gIQpCHkwdYaXcRAi4FQqE9MDbOJVrCDA4aba7TguBh5M0iUpVQeBMknUjoaML x6qRAokp7b9mUtts5xGFG6FROhqWAdJO2DCyWt0WYGPaPJ8BNh8ufeSMLTR7q9/YfROa P39riguWcySXjeT658ekao3LZ0EQwkzNU7JtNEvY7GOP8Xw9Qvem9wRNBjtWpA1f6BhI SO402jxjTrPWXozZnlY7c3FOyT52x7aOkR3FgFjevOp8dUuULU26Td8nuH/D+OE7RbCy +UVrV4A8EEViDiYF9Hp53rjpowEhMUKXnqngB5NVYKW1hE1XlFR7cSpFb9zIAf+KD7fJ 0u4g== 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=nof6BBuOsUxwrktDxD96Gn+TCwswJIvL0fky6CjjX78=; b=YWCGSSEiDhtdJ8v2SwoRHr8qJFEOnQuXmi6KE3ehR6AbG4FG5rmi32D3KKAQB/fkrB XP1GseyGrU+SedObl0ClkjK9+QX1Q6AWJLDn40Rk0f4ldQvCXvLRsuccyygs3BK1u3ql 6FbHy08WyBouO0SMwcRC/6UTEIZ1OxX1cVekTxKCfQkchrBqzWPnmViGU9mzjlowZmCN Iej+LWfY49UkiATNIB65oOGPaGkCDp22jfZREG9B+GKdkxLUvfIvuI9PjLXYGYWVnsyR syonUhtnNQo/cpS9BymkDrPHoD+5C0+9WsDEqm0+qpQ8Gug6OyMiqDhZHxOosHmYuV+7 s2EA== 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 f3-v6si6064883plb.79.2018.02.21.10.38.55; Wed, 21 Feb 2018 10:39:10 -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 S965625AbeBUNMh (ORCPT + 99 others); Wed, 21 Feb 2018 08:12:37 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:45724 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933532AbeBUNMe (ORCPT ); Wed, 21 Feb 2018 08:12:34 -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 C05A01078; Wed, 21 Feb 2018 13:12:33 +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.15 152/163] usb: Move USB_UHCI_BIG_ENDIAN_* out of USB_SUPPORT Date: Wed, 21 Feb 2018 13:49:41 +0100 Message-Id: <20180221124538.399406513@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180221124529.931834518@linuxfoundation.org> References: <20180221124529.931834518@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.15-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 @@ -625,14 +625,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