diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-24 14:49:14 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-24 14:49:14 +0100 |
commit | a844e018b68609a759eacc83bccbc53b1483c905 (patch) | |
tree | d7450634243105576c1592802d11cc8ca66f9a9d /meta/packages/rt2860/rt2860-1.7.0.0/01_dev_get_by_name.patch | |
parent | 3c759ae69b3a2004cdfa6261351fadc62766b149 (diff) | |
download | openembedded-core-a844e018b68609a759eacc83bccbc53b1483c905.tar.gz openembedded-core-a844e018b68609a759eacc83bccbc53b1483c905.tar.bz2 openembedded-core-a844e018b68609a759eacc83bccbc53b1483c905.tar.xz openembedded-core-a844e018b68609a759eacc83bccbc53b1483c905.zip |
rt2860: Drop since there is a better version in the kernel staging tree now
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/rt2860/rt2860-1.7.0.0/01_dev_get_by_name.patch')
-rw-r--r-- | meta/packages/rt2860/rt2860-1.7.0.0/01_dev_get_by_name.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/meta/packages/rt2860/rt2860-1.7.0.0/01_dev_get_by_name.patch b/meta/packages/rt2860/rt2860-1.7.0.0/01_dev_get_by_name.patch deleted file mode 100644 index 2f9d2ad50..000000000 --- a/meta/packages/rt2860/rt2860-1.7.0.0/01_dev_get_by_name.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- - src/rt_main_dev.c | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -Index: rt2860-clean/src/rt_main_dev.c -=================================================================== ---- rt2860-clean.orig/src/rt_main_dev.c 2008-09-11 15:05:14.000000000 +0200 -+++ rt2860-clean/src/rt_main_dev.c 2008-09-11 15:05:17.000000000 +0200 -@@ -800,7 +800,14 @@ static NDIS_STATUS rt_ieee80211_if_setup - sprintf(slot_name, "ra%d", i); - - #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0) -- device = dev_get_by_name(dev->nd_net, slot_name); -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24) -+ -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26) -+ device = dev_get_by_name(dev_net(dev), slot_name); -+#else -+ device = dev_get_by_name(dev->nd_net, slot_name); -+#endif -+ - #else - device = dev_get_by_name(slot_name); - #endif |