From 79d1b116073d2ebe8e1b63b3435a4bdff73527e4 Mon Sep 17 00:00:00 2001 From: Julien Pilet Date: Mon, 28 Dec 2015 14:14:34 +0100 Subject: [PATCH] MFD_HSU: Fix bad trace include Fixes the indirect inclusion of mfd_trace.h by mfd_core.c. --- drivers/tty/serial/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/tty/serial/Makefile b/drivers/tty/serial/Makefile index 569abeffd1d2..8a3e78cfe151 100644 --- a/drivers/tty/serial/Makefile +++ b/drivers/tty/serial/Makefile @@ -72,6 +72,10 @@ obj-$(CONFIG_SERIAL_GRLIB_GAISLER_APBUART) += apbuart.o obj-$(CONFIG_SERIAL_ALTERA_JTAGUART) += altera_jtaguart.o obj-$(CONFIG_SERIAL_VT8500) += vt8500_serial.o obj-$(CONFIG_SERIAL_MRST_MAX3110) += mrst_max3110.o + +# trick inspired from net/mac80211/Makefile as suggested on +# http://lwn.net/Articles/383362/ +CFLAGS_mfd_core.o := -I$(src) obj-$(CONFIG_SERIAL_MFD_HSU) += mfd_core.o mfd_dma.o mfd_pci.o mfd_plat.o obj-$(CONFIG_SERIAL_IFX6X60) += ifx6x60.o obj-$(CONFIG_SERIAL_PCH_UART) += pch_uart.o