projects
/
compat-rdma
/
compat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ca3d6a
)
compat-2.6.29.h: Avoid include on kernels > 2.6.29
author
Vladimir Sokolovsky
<vlad@mellanox.com>
Wed, 4 Mar 2015 09:34:01 +0000
(11:34 +0200)
committer
Vladimir Sokolovsky
<vlad@mellanox.com>
Wed, 4 Mar 2015 09:34:01 +0000
(11:34 +0200)
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
include/linux/compat-2.6.29.h
patch
|
blob
|
history
diff --git
a/include/linux/compat-2.6.29.h
b/include/linux/compat-2.6.29.h
index
b3833fe
..
5aa8d45
100644
(file)
--- a/
include/linux/compat-2.6.29.h
+++ b/
include/linux/compat-2.6.29.h
@@
-2,17
+2,10
@@
#define LINUX_26_29_COMPAT_H
#include <linux/version.h>
-#include <linux/netdevice.h>
-#include <linux/if_link.h>
-
-/*
- * I kow this looks odd.. but 2.6.32 added the netdev_tx_t
- * and we backport that there so inlcude that header first
- * as we need it for the netdev ops.
- */
-#include <linux/compat-2.6.32.h>
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29))
+#include <linux/netdevice.h>
+#include <linux/if_link.h>
#include <linux/skbuff.h>
#include <linux/usb.h>