aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/serial_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/serial_core.h')
-rw-r--r--include/linux/serial_core.h4
1 files changed, 2 insertions, 2 deletions
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