瀏覽代碼

[TCP]: Move inclusion of <linux/dmaengine.h> to correct place in <linux/tcp.h>

The new <linux/dmaengine.h> header shouldn't be included from
the !__KERNEL__ portion of tcp.h

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
David Woodhouse 19 年之前
父節點
當前提交
c8a553ad7f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/linux/tcp.h

+ 1 - 1
include/linux/tcp.h

@@ -18,7 +18,6 @@
 #define _LINUX_TCP_H
 
 #include <linux/types.h>
-#include <linux/dmaengine.h>
 #include <asm/byteorder.h>
 
 struct tcphdr {
@@ -161,6 +160,7 @@ struct tcp_info
 #ifdef __KERNEL__
 
 #include <linux/skbuff.h>
+#include <linux/dmaengine.h>
 #include <net/sock.h>
 #include <net/inet_connection_sock.h>
 #include <net/inet_timewait_sock.h>