Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ecef969e5b376f98b142e22deb1cec2f23e4f5d6 Commit: ecef969e5b376f98b142e22deb1cec2f23e4f5d6 Parent: 75ec533ec3335913009c32de878d5ed7cbe0d41c Author: Stephen Hemminger <[EMAIL PROTECTED]> AuthorDate: Tue Dec 25 17:23:59 2007 -0800 Committer: David S. Miller <[EMAIL PROTECTED]> CommitDate: Wed Dec 26 19:36:35 2007 -0800
[VETH]: move veth.h to include/linux 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 <[EMAIL PROTECTED]> Signed-off-by: David S. Miller <[EMAIL PROTECTED]> --- drivers/net/veth.c | 2 +- include/linux/Kbuild | 1 + include/linux/veth.h | 12 ++++++++++++ include/net/veth.h | 12 ------------ 4 files changed, 14 insertions(+), 13 deletions(-) diff --git a/drivers/net/veth.c b/drivers/net/veth.c index fdd1e03..43af9e9 100644 --- a/drivers/net/veth.c +++ b/drivers/net/veth.c @@ -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" diff --git a/include/linux/Kbuild b/include/linux/Kbuild index 9abf5a8..f30fa92 100644 --- a/include/linux/Kbuild +++ b/include/linux/Kbuild @@ -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 index 0000000..3354c1e --- /dev/null +++ b/include/linux/veth.h @@ -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 index 3354c1e..0000000 --- a/include/net/veth.h +++ /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 - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html