sparc,leon: Select USB_UHCI_BIG_ENDIAN_{MMIO,DESC}

"Linux Kernel Mailing List" <[email protected]> Fri, 16 Feb 2018 17:44:23 +0000 (UTC)
Newsgroups gmane.linux.kernel.commits.head
Message-ID <[email protected]>
Web:        https://git.kernel.org/torvalds/c/5efad9eee33ee5fc4bf3059f74f3932a638534d1
Commit:     5efad9eee33ee5fc4bf3059f74f3932a638534d1
Parent:     ec897569ad7dbc6d595873a487c3fac23f463f76
Refname:    refs/heads/master
Author:     James Hogan <[email protected]>
AuthorDate: Wed Jan 31 22:24:46 2018 +0000
Committer:  James Hogan <[email protected]>
CommitDate: Thu Feb 15 21:45:16 2018 +0000

    sparc,leon: Select USB_UHCI_BIG_ENDIAN_{MMIO,DESC}
    
    Now that USB_UHCI_BIG_ENDIAN_MMIO and USB_UHCI_BIG_ENDIAN_DESC are moved
    outside of the USB_SUPPORT conditional, simply select them from
    SPARC_LEON rather than by the symbol's defaults in drivers/usb/Kconfig,
    similar to how it is done for USB_EHCI_BIG_ENDIAN_MMIO and
    USB_EHCI_BIG_ENDIAN_DESC.
    
    Signed-off-by: James Hogan <[email protected]>
    Cc: "David S. Miller" <[email protected]>
    Cc: Greg Kroah-Hartman <[email protected]>
    Cc: Corentin Labbe <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Acked-by: David S. Miller <[email protected]>
    Patchwork: https://patchwork.linux-mips.org/patch/18560/
---
 arch/sparc/Kconfig  | 2 ++
 drivers/usb/Kconfig | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
index 6bf594ace663..8767e45f1b2b 100644
--- a/arch/sparc/Kconfig
+++ b/arch/sparc/Kconfig
@@ -430,6 +430,8 @@ config SPARC_LEON
 	depends on SPARC32
 	select USB_EHCI_BIG_ENDIAN_MMIO
 	select USB_EHCI_BIG_ENDIAN_DESC
+	select USB_UHCI_BIG_ENDIAN_MMIO
+	select USB_UHCI_BIG_ENDIAN_DESC
 	---help---
 	  If you say Y here if you are running on a SPARC-LEON processor.
 	  The LEON processor is a synthesizable VHDL model of the
diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig
index 65812a2f60b4..148f3ee70286 100644
--- a/drivers/usb/Kconfig
+++ b/drivers/usb/Kconfig
@@ -21,11 +21,9 @@ config USB_EHCI_BIG_ENDIAN_DESC
 
 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"
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html