diff options
Diffstat (limited to 'drivers/firmware/pcdp.c')
-rw-r--r-- | drivers/firmware/pcdp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/firmware/pcdp.c b/drivers/firmware/pcdp.c index a330492e06f9..75273a251603 100644 --- a/drivers/firmware/pcdp.c +++ b/drivers/firmware/pcdp.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/console.h> | 15 | #include <linux/console.h> |
16 | #include <linux/efi.h> | 16 | #include <linux/efi.h> |
17 | #include <linux/serial.h> | 17 | #include <linux/serial.h> |
18 | #include <linux/serial_8250.h> | 18 | #include <linux/serial_core.h> |
19 | #include <asm/vga.h> | 19 | #include <asm/vga.h> |
20 | #include "pcdp.h" | 20 | #include "pcdp.h" |
21 | 21 | ||
@@ -43,7 +43,7 @@ setup_serial_console(struct pcdp_uart *uart) | |||
43 | } | 43 | } |
44 | 44 | ||
45 | add_preferred_console("uart", 8250, &options[9]); | 45 | add_preferred_console("uart", 8250, &options[9]); |
46 | return setup_early_serial8250_console(options); | 46 | return setup_earlycon(options); |
47 | #else | 47 | #else |
48 | return -ENODEV; | 48 | return -ENODEV; |
49 | #endif | 49 | #endif |