[VETH]: move veth.h to include/linux
authorStephen Hemminger <shemminger@linux-foundation.org>
Wed, 26 Dec 2007 01:23:59 +0000 (17:23 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Dec 2007 03:36:35 +0000 (19:36 -0800)
Move veth.h from net/ to linux/ since it is a user api, and add it to
user header processing Kbuild.

[ Use header-y as suggested by Sam Ravnborg.  -DaveM ]

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/veth.c
include/linux/Kbuild
include/linux/veth.h [new file with mode: 0644]
include/net/veth.h [deleted file]

index fdd1e034569d9c44fe49f1c9d678e7550de52537..43af9e9b26525ad1fcc4f96df93168d4bfe1990c 100644 (file)
@@ -15,7 +15,7 @@
 
 #include <net/dst.h>
 #include <net/xfrm.h>
-#include <net/veth.h>
+#include <linux/veth.h>
 
 #define DRV_NAME       "veth"
 #define DRV_VERSION    "1.0"
index 9abf5a806c155dcd3c44b59e4ce14c428f24500d..f30fa92a44a1ef951771050d0fa5378fdf812522 100644 (file)
@@ -153,6 +153,7 @@ header-y += toshiba.h
 header-y += ultrasound.h
 header-y += un.h
 header-y += utime.h
+header-y += veth.h
 header-y += video_decoder.h
 header-y += video_encoder.h
 header-y += videotext.h
diff --git a/include/linux/veth.h b/include/linux/veth.h
new file mode 100644 (file)
index 0000000..3354c1e
--- /dev/null
@@ -0,0 +1,12 @@
+#ifndef __NET_VETH_H_
+#define __NET_VETH_H_
+
+enum {
+       VETH_INFO_UNSPEC,
+       VETH_INFO_PEER,
+
+       __VETH_INFO_MAX
+#define VETH_INFO_MAX  (__VETH_INFO_MAX - 1)
+};
+
+#endif
diff --git a/include/net/veth.h b/include/net/veth.h
deleted file mode 100644 (file)
index 3354c1e..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#ifndef __NET_VETH_H_
-#define __NET_VETH_H_
-
-enum {
-       VETH_INFO_UNSPEC,
-       VETH_INFO_PEER,
-
-       __VETH_INFO_MAX
-#define VETH_INFO_MAX  (__VETH_INFO_MAX - 1)
-};
-
-#endif