Skip to content

Commit 0fe0764

Browse files
Nicolae Rosiagregkh
authored andcommitted
tty: serial: Makefile: move kgdb to be initialized last
fsl_lpuart cannot be used with kgdb because the kgdb initcall is called before the driver's init. Move kgdb to be initialized after all serial drivers have been inited. Signed-off-by: Nicolae Rosia <nicolae_rosia@mentor.com> Signed-off-by: Stefan Golinschi <stefan.golinschi@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 2a41bc2 commit 0fe0764

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

drivers/tty/serial/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,11 @@ obj-$(CONFIG_SERIAL_ATMEL) += atmel_serial.o
6262
obj-$(CONFIG_SERIAL_UARTLITE) += uartlite.o
6363
obj-$(CONFIG_SERIAL_MSM) += msm_serial.o
6464
obj-$(CONFIG_SERIAL_NETX) += netx-serial.o
65-
obj-$(CONFIG_SERIAL_KGDB_NMI) += kgdb_nmi.o
6665
obj-$(CONFIG_SERIAL_KS8695) += serial_ks8695.o
6766
obj-$(CONFIG_SERIAL_OMAP) += omap-serial.o
6867
obj-$(CONFIG_SERIAL_ALTERA_UART) += altera_uart.o
6968
obj-$(CONFIG_SERIAL_ST_ASC) += st-asc.o
7069
obj-$(CONFIG_SERIAL_TILEGX) += tilegx.o
71-
obj-$(CONFIG_KGDB_SERIAL_CONSOLE) += kgdboc.o
7270
obj-$(CONFIG_SERIAL_QE) += ucc_uart.o
7371
obj-$(CONFIG_SERIAL_TIMBERDALE) += timbuart.o
7472
obj-$(CONFIG_SERIAL_GRLIB_GAISLER_APBUART) += apbuart.o
@@ -96,3 +94,6 @@ obj-$(CONFIG_SERIAL_MPS2_UART) += mps2-uart.o
9694

9795
# GPIOLIB helpers for modem control lines
9896
obj-$(CONFIG_SERIAL_MCTRL_GPIO) += serial_mctrl_gpio.o
97+
98+
obj-$(CONFIG_SERIAL_KGDB_NMI) += kgdb_nmi.o
99+
obj-$(CONFIG_KGDB_SERIAL_CONSOLE) += kgdboc.o

0 commit comments

Comments
 (0)