Skip to content

Commit 2e6522c

Browse files
montjoieamalon
authored andcommitted
MIPS: Fix typo BIG_ENDIAN to CPU_BIG_ENDIAN
MIPS_GENERIC selects some options conditional on BIG_ENDIAN which does not exist. Replace BIG_ENDIAN with CPU_BIG_ENDIAN which is the correct kconfig name. Note that BMIPS_GENERIC does the same which confirms that this patch is needed. Fixes: eed0eab ("MIPS: generic: Introduce generic DT-based board support") Signed-off-by: Corentin Labbe <[email protected]> Reviewed-by: James Hogan <[email protected]> Cc: Ralf Baechle <[email protected]> Cc: [email protected] Cc: <[email protected]> # 4.9+ Patchwork: https://patchwork.linux-mips.org/patch/18495/ [[email protected]: Clean up commit message] Signed-off-by: James Hogan <[email protected]>
1 parent 5f2483e commit 2e6522c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

arch/mips/Kconfig

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,12 @@ config MIPS_GENERIC
119119
select SYS_SUPPORTS_MULTITHREADING
120120
select SYS_SUPPORTS_RELOCATABLE
121121
select SYS_SUPPORTS_SMARTMIPS
122-
select USB_EHCI_BIG_ENDIAN_DESC if BIG_ENDIAN
123-
select USB_EHCI_BIG_ENDIAN_MMIO if BIG_ENDIAN
124-
select USB_OHCI_BIG_ENDIAN_DESC if BIG_ENDIAN
125-
select USB_OHCI_BIG_ENDIAN_MMIO if BIG_ENDIAN
126-
select USB_UHCI_BIG_ENDIAN_DESC if BIG_ENDIAN
127-
select USB_UHCI_BIG_ENDIAN_MMIO if BIG_ENDIAN
122+
select USB_EHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN
123+
select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
124+
select USB_OHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN
125+
select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
126+
select USB_UHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN
127+
select USB_UHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
128128
select USE_OF
129129
help
130130
Select this to build a kernel which aims to support multiple boards,

0 commit comments

Comments
 (0)