mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-12 05:24:12 +08:00
c93a59938c
The 8250_of never compiled since in the Kconfig we have SERIAL_OF_PLATFORM
but in the makefile we expect to have SERIAL_8250_OF...
When the 8250_of.c is actually compiled we will have two errors:
missing linux/nwpserial.h and 8250/8250.h.
Fix those as well at the same time when enable the compilation of the
driver.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Fixes: afd7f88f15
("serial: 8250: move of_serial code to 8250 directory")
Reported-by: Guenter Roeck <linux@roeck-us.net>
CC: Arnd Bergmann <arnd@arndb.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
34 lines
1.3 KiB
Makefile
34 lines
1.3 KiB
Makefile
#
|
|
# Makefile for the 8250 serial device drivers.
|
|
#
|
|
|
|
obj-$(CONFIG_SERIAL_8250) += 8250.o 8250_base.o
|
|
8250-y := 8250_core.o
|
|
8250-$(CONFIG_SERIAL_8250_PNP) += 8250_pnp.o
|
|
8250_base-y := 8250_port.o
|
|
8250_base-$(CONFIG_SERIAL_8250_DMA) += 8250_dma.o
|
|
obj-$(CONFIG_SERIAL_8250_GSC) += 8250_gsc.o
|
|
obj-$(CONFIG_SERIAL_8250_PCI) += 8250_pci.o
|
|
obj-$(CONFIG_SERIAL_8250_HP300) += 8250_hp300.o
|
|
obj-$(CONFIG_SERIAL_8250_CS) += serial_cs.o
|
|
obj-$(CONFIG_SERIAL_8250_ACORN) += 8250_acorn.o
|
|
obj-$(CONFIG_SERIAL_8250_CONSOLE) += 8250_early.o
|
|
obj-$(CONFIG_SERIAL_8250_FOURPORT) += 8250_fourport.o
|
|
obj-$(CONFIG_SERIAL_8250_ACCENT) += 8250_accent.o
|
|
obj-$(CONFIG_SERIAL_8250_BOCA) += 8250_boca.o
|
|
obj-$(CONFIG_SERIAL_8250_EXAR_ST16C554) += 8250_exar_st16c554.o
|
|
obj-$(CONFIG_SERIAL_8250_HUB6) += 8250_hub6.o
|
|
obj-$(CONFIG_SERIAL_8250_FSL) += 8250_fsl.o
|
|
obj-$(CONFIG_SERIAL_8250_DW) += 8250_dw.o
|
|
obj-$(CONFIG_SERIAL_8250_EM) += 8250_em.o
|
|
obj-$(CONFIG_SERIAL_8250_OMAP) += 8250_omap.o
|
|
obj-$(CONFIG_SERIAL_8250_FINTEK) += 8250_fintek.o
|
|
obj-$(CONFIG_SERIAL_8250_LPC18XX) += 8250_lpc18xx.o
|
|
obj-$(CONFIG_SERIAL_8250_MT6577) += 8250_mtk.o
|
|
obj-$(CONFIG_SERIAL_8250_UNIPHIER) += 8250_uniphier.o
|
|
obj-$(CONFIG_SERIAL_8250_INGENIC) += 8250_ingenic.o
|
|
obj-$(CONFIG_SERIAL_8250_MID) += 8250_mid.o
|
|
obj-$(CONFIG_SERIAL_OF_PLATFORM) += 8250_of.o
|
|
|
|
CFLAGS_8250_ingenic.o += -I$(srctree)/scripts/dtc/libfdt
|