A user reported that the linux/mm.h header was missing on his mips
device with kernel 2.6.26.

Signed-off-by: Hauke Mehrtens <[email protected]>
---
 backport/compat/compat-3.8.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/backport/compat/compat-3.8.c b/backport/compat/compat-3.8.c
index c6824bf..6741989 100644
--- a/backport/compat/compat-3.8.c
+++ b/backport/compat/compat-3.8.c
@@ -18,6 +18,7 @@
 #include <linux/netdevice.h>
 #include <linux/random.h>
 #include <linux/of.h>
+#include <linux/mm.h>
 
 #if (LINUX_VERSION_CODE < KERNEL_VERSION(3,7,8))
 void netdev_set_default_ethtool_ops(struct net_device *dev,
-- 
1.7.10.4

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

Reply via email to