summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiangliang Huang <huanglllzu@gmail.com>2020-04-29 17:04:17 +0800
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2020-04-29 20:14:25 +0200
commit2c3cc858a68707dd710aefddd737e9f6aa0a16e1 (patch)
tree51587a66463310f31e5c63d21742df325d2dbfa5
parent8c88cc53ffa62b4bb05931c878bcf3dd10db66b5 (diff)
downloadlinux-stable-2c3cc858a68707dd710aefddd737e9f6aa0a16e1.tar.gz
linux-stable-2c3cc858a68707dd710aefddd737e9f6aa0a16e1.tar.bz2
linux-stable-2c3cc858a68707dd710aefddd737e9f6aa0a16e1.zip
MIPS: Loongson64: Switch the order of RS780E and LS7A
Sort the members of enum in alphabetical order is better to avoid duplicate mistakes (because the list may be grow very large), so fix it by exchanging the order. Signed-off-by: Liangliang Huang <huangll@lemote.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
-rw-r--r--arch/mips/include/asm/mach-loongson64/boot_param.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/include/asm/mach-loongson64/boot_param.h b/arch/mips/include/asm/mach-loongson64/boot_param.h
index fc9f14bc5777..f082d87665bc 100644
--- a/arch/mips/include/asm/mach-loongson64/boot_param.h
+++ b/arch/mips/include/asm/mach-loongson64/boot_param.h
@@ -193,8 +193,8 @@ struct boot_params {
};
enum loongson_bridge_type {
- RS780E = 1,
- LS7A = 2
+ LS7A = 1,
+ RS780E = 2
};
struct loongson_system_configuration {