summaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches/210-d80211_compat.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-26 19:41:42 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-26 19:41:42 +0000
commita3df50fd61e049a5827878459d7bf0b9e670f2ba (patch)
treeb2ebe5f370ac75b461e97fff8677e2fd9373756f /target/linux/generic-2.6/patches/210-d80211_compat.patch
parent62866afbacccec283c7aaed648825fb27272ac3f (diff)
refresh kernel patches so that they apply cleanly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7347 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6/patches/210-d80211_compat.patch')
-rw-r--r--target/linux/generic-2.6/patches/210-d80211_compat.patch11
1 files changed, 6 insertions, 5 deletions
diff --git a/target/linux/generic-2.6/patches/210-d80211_compat.patch b/target/linux/generic-2.6/patches/210-d80211_compat.patch
index 555151ba7..04548e2bc 100644
--- a/target/linux/generic-2.6/patches/210-d80211_compat.patch
+++ b/target/linux/generic-2.6/patches/210-d80211_compat.patch
@@ -1,11 +1,12 @@
---- linux.old/include/linux/netdevice.h 2006-12-30 18:49:37.916951328 +0100
-+++ linux.dev/include/linux/netdevice.h 2006-12-30 18:49:49.573179312 +0100
-@@ -526,6 +526,8 @@
- struct class_device class_dev;
+diff -urN linux-2.6.21.1.old/include/linux/netdevice.h linux-2.6.21.1.dev/include/linux/netdevice.h
+--- linux-2.6.21.1.old/include/linux/netdevice.h 2007-04-27 23:49:26.000000000 +0200
++++ linux-2.6.21.1.dev/include/linux/netdevice.h 2007-05-26 21:04:21.537668920 +0200
+@@ -532,6 +532,8 @@
+ struct device dev;
/* space for optional statistics and wireless sysfs groups */
struct attribute_group *sysfs_groups[3];
+
+ void *ieee80211_ptr;
};
+ #define to_net_dev(d) container_of(d, struct net_device, dev)
- #define NETDEV_ALIGN 32