OSDN Git Service

MIPS: Loongson64: Switch the order of RS780E and LS7A
authorLiangliang Huang <huanglllzu@gmail.com>
Wed, 29 Apr 2020 09:04:17 +0000 (17:04 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Wed, 29 Apr 2020 18:14:25 +0000 (20:14 +0200)
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>
arch/mips/include/asm/mach-loongson64/boot_param.h

index fc9f14b..f082d87 100644 (file)
@@ -193,8 +193,8 @@ struct boot_params {
 };
 
 enum loongson_bridge_type {
-       RS780E = 1,
-       LS7A = 2
+       LS7A = 1,
+       RS780E = 2
 };
 
 struct loongson_system_configuration {