diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/acpi.h | 7 | ||||
| -rw-r--r-- | include/linux/serial_core.h | 4 |
2 files changed, 7 insertions, 4 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index e6d41b65d396..64e10746f282 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
| @@ -1263,9 +1263,12 @@ static inline bool acpi_has_watchdog(void) { return false; } | |||
| 1263 | 1263 | ||
| 1264 | #ifdef CONFIG_ACPI_SPCR_TABLE | 1264 | #ifdef CONFIG_ACPI_SPCR_TABLE |
| 1265 | extern bool qdf2400_e44_present; | 1265 | extern bool qdf2400_e44_present; |
| 1266 | int parse_spcr(bool earlycon); | 1266 | int acpi_parse_spcr(bool enable_earlycon, bool enable_console); |
| 1267 | #else | 1267 | #else |
| 1268 | static inline int parse_spcr(bool earlycon) { return 0; } | 1268 | static inline int acpi_parse_spcr(bool enable_earlycon, bool enable_console) |
| 1269 | { | ||
| 1270 | return 0; | ||
| 1271 | } | ||
| 1269 | #endif | 1272 | #endif |
| 1270 | 1273 | ||
| 1271 | #if IS_ENABLED(CONFIG_ACPI_GENERIC_GSI) | 1274 | #if IS_ENABLED(CONFIG_ACPI_GENERIC_GSI) |
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index 4c310c34ddad..b32df49a3bd5 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h | |||
| @@ -376,10 +376,10 @@ extern int of_setup_earlycon(const struct earlycon_id *match, | |||
| 376 | const char *options); | 376 | const char *options); |
| 377 | 377 | ||
| 378 | #ifdef CONFIG_SERIAL_EARLYCON | 378 | #ifdef CONFIG_SERIAL_EARLYCON |
| 379 | extern bool earlycon_init_is_deferred __initdata; | 379 | extern bool earlycon_acpi_spcr_enable __initdata; |
| 380 | int setup_earlycon(char *buf); | 380 | int setup_earlycon(char *buf); |
| 381 | #else | 381 | #else |
| 382 | static const bool earlycon_init_is_deferred; | 382 | static const bool earlycon_acpi_spcr_enable; |
| 383 | static inline int setup_earlycon(char *buf) { return 0; } | 383 | static inline int setup_earlycon(char *buf) { return 0; } |
| 384 | #endif | 384 | #endif |
| 385 | 385 | ||
