Received: by 10.223.185.116 with SMTP id b49csp937259wrg; Wed, 21 Feb 2018 09:18:18 -0800 (PST) X-Google-Smtp-Source: AH8x226qCZJ3vlLl+uiqpuddKmIjwpZ9MoJhyQSKXYV1FGKm/hPq8xs3lXuCZXAy6k+JVizUhR6m X-Received: by 10.98.64.73 with SMTP id n70mr4039783pfa.142.1519233498387; Wed, 21 Feb 2018 09:18:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519233498; cv=none; d=google.com; s=arc-20160816; b=LUrL6lD/peLWyGGkIuK4eV1qWJVhrNR/QijIXyI22JI029EMYG+ikbSoETtMLH44pY S3MMOGK75JYCV/6N0/qjs0rmZnzZA190wQyhFUpJYOIx+MGyVY45JXbfa8bK0EiFjEnq u6pjmssIP5DH2XlpNaw52vdAEgXfOgaIx+WZP8jz5HvLEHzBeE8VOFfZvsNeYLIkNpqw wMov2nywhq1zpXs2M3NFMYNGxjhmRahvuuAnqjbvlzD79k5RscMcqrEnniltMuTXVsRN vDxZYf+mt+3InoVvyMw1IOUGPZj0wV99BZCo26Qr6OLvZi1SLHKIXHnxoMsyD/P8Jdzv 9Ang== 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=Dm7YY+uyO6TVF6lEJ5EEbwjvq6DZSuK2lmexJM9Kw1A=; b=bab4IZEwSZFVnwkj+iTQ0a/4hdgyjGE9iZutisecqQ6O+YvCH0+42Rz5rRfKBlFN5E WwO/ZC0uo3rIAPgPv3iKFeFPrrgjM4mo0avf9EKhtm1c6lcAlrnydv2tXqu+O7f3MAty zR3GmDHFOx045R0Z3u2rI4simwnYfAqPfamcMSofxCJz7tUd2SjTbmJkWCZiCVfrg8LE hEOPh6dtCEKivTcuafPOnsvB7oTD7EoLKwUi465/wnUZtcnndHENGZqO94afhvyppTaQ TwoS9xxPPJZe4ulUnHlfhaRzKxEmWDX7Ir/qh8WNMdQghE5HVp9CnL4RuvYvrZ2lPM8o AEQA== 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 t18si1442657pfg.246.2018.02.21.09.18.03; Wed, 21 Feb 2018 09:18:18 -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 S934278AbeBUMz1 (ORCPT + 99 others); Wed, 21 Feb 2018 07:55:27 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:34406 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932659AbeBUMzY (ORCPT ); Wed, 21 Feb 2018 07:55:24 -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 BC3E8109F; Wed, 21 Feb 2018 12:55:23 +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.9 32/77] usb: Move USB_UHCI_BIG_ENDIAN_* out of USB_SUPPORT Date: Wed, 21 Feb 2018 13:48:41 +0100 Message-Id: <20180221124433.539558108@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180221124432.172390020@linuxfoundation.org> References: <20180221124432.172390020@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: 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 @@ -628,14 +628,6 @@ config USB_UHCI_PLATFORM bool default y if ARCH_VT8500 -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