diff options
Diffstat (limited to 'include/linux/serial_core.h')
-rw-r--r-- | include/linux/serial_core.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index b4c9fda9d833..06ea4eeb09ab 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h | |||
@@ -233,6 +233,7 @@ struct uart_port { | |||
233 | #define UPSTAT_AUTORTS ((__force upstat_t) (1 << 2)) | 233 | #define UPSTAT_AUTORTS ((__force upstat_t) (1 << 2)) |
234 | #define UPSTAT_AUTOCTS ((__force upstat_t) (1 << 3)) | 234 | #define UPSTAT_AUTOCTS ((__force upstat_t) (1 << 3)) |
235 | #define UPSTAT_AUTOXOFF ((__force upstat_t) (1 << 4)) | 235 | #define UPSTAT_AUTOXOFF ((__force upstat_t) (1 << 4)) |
236 | #define UPSTAT_SYNC_FIFO ((__force upstat_t) (1 << 5)) | ||
236 | 237 | ||
237 | int hw_stopped; /* sw-assisted CTS flow state */ | 238 | int hw_stopped; /* sw-assisted CTS flow state */ |
238 | unsigned int mctrl; /* current modem ctrl settings */ | 239 | unsigned int mctrl; /* current modem ctrl settings */ |
@@ -348,7 +349,8 @@ struct earlycon_device { | |||
348 | }; | 349 | }; |
349 | 350 | ||
350 | struct earlycon_id { | 351 | struct earlycon_id { |
351 | char name[16]; | 352 | char name[15]; |
353 | char name_term; /* In case compiler didn't '\0' term name */ | ||
352 | char compatible[128]; | 354 | char compatible[128]; |
353 | int (*setup)(struct earlycon_device *, const char *options); | 355 | int (*setup)(struct earlycon_device *, const char *options); |
354 | }; | 356 | }; |