[TCP]: Move inclusion of <linux/dmaengine.h> to correct place in <linux/tcp.h>
authorDavid Woodhouse <dwmw2@infradead.org>
Thu, 22 Jun 2006 21:28:09 +0000 (14:28 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 23 Jun 2006 09:07:40 +0000 (02:07 -0700)
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>
include/linux/tcp.h

index 420a689c3fb45c5f088837424f0b3a705a640082..8ebf497907f8ec8cb8e014b8ff2f5f840261a3f5 100644 (file)
@@ -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>