aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/acpi.h7
-rw-r--r--include/linux/serial_core.h4
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
1265extern bool qdf2400_e44_present; 1265extern bool qdf2400_e44_present;
1266int parse_spcr(bool earlycon); 1266int acpi_parse_spcr(bool enable_earlycon, bool enable_console);
1267#else 1267#else
1268static inline int parse_spcr(bool earlycon) { return 0; } 1268static 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
379extern bool earlycon_init_is_deferred __initdata; 379extern bool earlycon_acpi_spcr_enable __initdata;
380int setup_earlycon(char *buf); 380int setup_earlycon(char *buf);
381#else 381#else
382static const bool earlycon_init_is_deferred; 382static const bool earlycon_acpi_spcr_enable;
383static inline int setup_earlycon(char *buf) { return 0; } 383static inline int setup_earlycon(char *buf) { return 0; }
384#endif 384#endif
385 385