瀏覽代碼

mips,powerpc: fix TIOCSER_TEMT in termios.h

use the same token to define TIOCSER_TEMT as is used in ioctl.h
so when both headers are included there are no redefinition warnings
during musl build.
Szabolcs Nagy 7 年之前
父節點
當前提交
9eda4dc69c

+ 1 - 1
arch/mips/bits/termios.h

@@ -163,5 +163,5 @@ struct termios {
 #define EXTPROC 0200000
 
 #define XTABS  0014000
-#define TIOCSER_TEMT 1
+#define TIOCSER_TEMT 0x01
 #endif

+ 1 - 1
arch/mips64/bits/termios.h

@@ -163,5 +163,5 @@ struct termios {
 #define EXTPROC 0200000
 
 #define XTABS  0014000
-#define TIOCSER_TEMT 1
+#define TIOCSER_TEMT 0x01
 #endif

+ 1 - 1
arch/mipsn32/bits/termios.h

@@ -163,5 +163,5 @@ struct termios {
 #define EXTPROC 0200000
 
 #define XTABS  0014000
-#define TIOCSER_TEMT 1
+#define TIOCSER_TEMT 0x01
 #endif

+ 1 - 1
arch/powerpc/bits/termios.h

@@ -165,5 +165,5 @@ struct termios {
 #define EXTPROC 0x10000000
 
 #define XTABS   00006000
-#define TIOCSER_TEMT 1
+#define TIOCSER_TEMT 0x01
 #endif

+ 1 - 1
arch/powerpc64/bits/termios.h

@@ -165,5 +165,5 @@ struct termios {
 #define EXTPROC 0x10000000
 
 #define XTABS   00006000
-#define TIOCSER_TEMT 1
+#define TIOCSER_TEMT 0x01
 #endif