summaryrefslogtreecommitdiff
path: root/drivers/net/wan
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-01-25 17:22:29 +0300
committerDavid S. Miller <davem@davemloft.net>2019-01-27 05:27:04 +0300
commit085c4c7dd2b6558fb079fad07d6e9064f5e0b4c2 (patch)
tree1e61c07258fcb0a12f0ac5dcd6b36d5a079c949d /drivers/net/wan
parent7304720d70a223186d192d766e9b5d25470a705d (diff)
downloadlinux-085c4c7dd2b6558fb079fad07d6e9064f5e0b4c2.tar.xz
net: lmc: remove -I. header search path
The header search path -I. in kernel Makefiles is very suspicious; it allows the compiler to search for headers in the top of $(srctree), where obviously no header file exists. I was able to build without this header search path. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wan')
-rw-r--r--drivers/net/wan/lmc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wan/lmc/Makefile b/drivers/net/wan/lmc/Makefile
index 609710d64eb5..247f60c401ef 100644
--- a/drivers/net/wan/lmc/Makefile
+++ b/drivers/net/wan/lmc/Makefile
@@ -14,4 +14,4 @@ lmc-objs := lmc_debug.o lmc_media.o lmc_main.o lmc_proto.o
# -DDEBUG \
# -DLMC_PACKET_LOG
-ccflags-y := -I. $(DBGDEF)
+ccflags-y := $(DBGDEF)