[PATCH for 3.7 5/8] compat: include linux/compat-3.8.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This header file was not included in this branch.
This also fixes a compile problem in linux/compat-3.8.h.

Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>
---
 include/linux/compat-2.6.h |    1 +
 include/linux/compat-3.8.h |    2 ++
 2 files changed, 3 insertions(+)

diff --git a/include/linux/compat-2.6.h b/include/linux/compat-2.6.h
index 7a8409f..34c49e6 100644
--- a/include/linux/compat-2.6.h
+++ b/include/linux/compat-2.6.h
@@ -68,6 +68,7 @@ void compat_dependency_symbol(void);
 #include <linux/compat-3.5.h>
 #include <linux/compat-3.6.h>
 #include <linux/compat-3.7.h>
+#include <linux/compat-3.8.h>
 
 #endif /* __ASSEMBLY__ */
 
diff --git a/include/linux/compat-3.8.h b/include/linux/compat-3.8.h
index 1a3c320..60a08d2 100644
--- a/include/linux/compat-3.8.h
+++ b/include/linux/compat-3.8.h
@@ -10,4 +10,6 @@
 extern void netdev_set_default_ethtool_ops(struct net_device *dev,
 					   const struct ethtool_ops *ops);
 
+#endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0)) */
+
 #endif /* LINUX_3_8_COMPAT_H */
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux