aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2009-08-15 16:29:52 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2009-08-15 16:29:52 +0000
commit620efa556f4768ea88a29d72418490974848eca2 (patch)
tree681ff5c7ab42aeca0410a992eb867b7557f53381 /package
parenta8c28fc63c97cbeb7445c215630b9d2b81174d8f (diff)
downloadupstream-620efa556f4768ea88a29d72418490974848eca2.tar.gz
upstream-620efa556f4768ea88a29d72418490974848eca2.tar.bz2
upstream-620efa556f4768ea88a29d72418490974848eca2.zip
also exclude usb_unpoison_urb
SVN-Revision: 17275
Diffstat (limited to 'package')
-rw-r--r--package/mac80211/patches/008-disable_usb_backport.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/package/mac80211/patches/008-disable_usb_backport.patch b/package/mac80211/patches/008-disable_usb_backport.patch
index 7efdbbb131..c612413e99 100644
--- a/package/mac80211/patches/008-disable_usb_backport.patch
+++ b/package/mac80211/patches/008-disable_usb_backport.patch
@@ -18,7 +18,7 @@
}
EXPORT_SYMBOL_GPL(usb_anchor_empty);
-+#endif
++#endif /* CONFIG_AR9170_USB */
void __iomem *pci_ioremap_bar(struct pci_dev *pdev, int bar)
@@ -32,20 +32,20 @@
#ifndef ETH_P_PAE
#define ETH_P_PAE 0x888E /* Port Access Entity (IEEE 802.1X) */
-@@ -42,6 +41,8 @@ extern void usb_poison_urb(struct urb *u
+@@ -37,6 +36,8 @@
+ #define pcmcia_parse_tuple(tuple, parse) pccard_parse_tuple(tuple, parse)
#endif
- extern void usb_unpoison_urb(struct urb *urb);
+#ifdef CONFIG_AR9170_USB
+#include <linux/usb.h>
#if 0
- extern void usb_poison_anchored_urbs(struct usb_anchor *anchor);
+ extern void usb_poison_urb(struct urb *urb);
#endif
@@ -49,6 +50,7 @@ extern void usb_poison_anchored_urbs(str
extern struct urb *usb_get_from_anchor(struct usb_anchor *anchor);
extern void usb_scuttle_anchored_urbs(struct usb_anchor *anchor);
extern int usb_anchor_empty(struct usb_anchor *anchor);
-+#endif
++#endif /* CONFIG_AR9170_USB */
void __iomem *pci_ioremap_bar(struct pci_dev *pdev, int bar);
@@ -63,7 +63,7 @@
spin_unlock_irqrestore(&anchor->lock, flags);
}
EXPORT_SYMBOL_GPL(usb_unpoison_anchored_urbs);
-+#endif
++#endif /* CONFIG_AR9170_USB */
#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29) */
@@ -75,7 +75,7 @@
+#ifdef CONFIG_AR9170_USB
extern void usb_unpoison_anchored_urbs(struct usb_anchor *anchor);
-+#endif
++#endif /* CONFIG_AR9170_USB */
#endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29)) */