Remove 130-compat_net_dev_ops.patch for openswan

This patch was merged upstream in commit
dd5c1a87f7032a00422135d14e1f1247b38a40c8 in Sept 2010.  It is already
included in v2.6.30 and later.

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@29582 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2011-12-20 04:23:42 +00:00
parent 15d9ff13ab
commit f2ec9b1ab8

View File

@ -1,19 +0,0 @@
---
linux/include/openswan/ipsec_kversion.h | 6 ++++++
1 file changed, 6 insertions(+)
--- a/linux/include/openswan/ipsec_kversion.h
+++ b/linux/include/openswan/ipsec_kversion.h
@@ -393,6 +393,12 @@
# endif
#endif
+#if LINUX_VERSION_CODE == KERNEL_VERSION(2,6,30)
+# ifndef CONFIG_COMPAT_NET_DEV_OPS
+# define USE_NETDEV_OPS
+# endif
+#endif
+
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31)
# define USE_NETDEV_OPS
#else