summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-10-04 12:36:45 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-10-04 12:36:45 +0000
commite5ca54aee977ae042cf02ea1028e78ff94d9c845 (patch)
tree6cd1937491f052c83c1fdbf4d7694564a8b41d41 /package
parentc034fc2f40eb06d997be9e6647e8fb439ca6c57e (diff)
downloadmtk-20170518-e5ca54aee977ae042cf02ea1028e78ff94d9c845.zip
mtk-20170518-e5ca54aee977ae042cf02ea1028e78ff94d9c845.tar.gz
mtk-20170518-e5ca54aee977ae042cf02ea1028e78ff94d9c845.tar.bz2
broadcom-wl: fix build after IRQF_SAMPLE_RANDOM flag removal (#12248)
SVN-Revision: 33617
Diffstat (limited to 'package')
-rw-r--r--package/broadcom-wl/Makefile2
-rw-r--r--package/broadcom-wl/patches/010-remove_irqf_samble_random.patch11
2 files changed, 12 insertions, 1 deletions
diff --git a/package/broadcom-wl/Makefile b/package/broadcom-wl/Makefile
index a2bd679..1a7da0f 100644
--- a/package/broadcom-wl/Makefile
+++ b/package/broadcom-wl/Makefile
@@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=broadcom-wl
PKG_VERSION:=5.10.56.27.3
-PKG_RELEASE:=4
+PKG_RELEASE:=5
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)_$(ARCH).tar.bz2
PKG_SOURCE_URL:=http://downloads.openwrt.org/sources
diff --git a/package/broadcom-wl/patches/010-remove_irqf_samble_random.patch b/package/broadcom-wl/patches/010-remove_irqf_samble_random.patch
new file mode 100644
index 0000000..27b132d
--- /dev/null
+++ b/package/broadcom-wl/patches/010-remove_irqf_samble_random.patch
@@ -0,0 +1,11 @@
+--- a/driver/wl_linux.c 2012-09-26 20:51:48.099454971 -0400
++++ b/driver/wl_linux.c 2012-09-26 20:53:24.115453441 -0400
+@@ -691,7 +691,7 @@
+ if (wl->bustype != JTAG_BUS)
+ #endif /* BCMJTAG */
+ {
+- if (request_irq(irq, wl_isr, IRQF_SHARED|IRQF_SAMPLE_RANDOM, dev->name, wl)) {
++ if (request_irq(irq, wl_isr, IRQF_SHARED, dev->name, wl)) {
+ WL_ERROR(("wl%d: request_irq() failed\n", unit));
+ goto fail;
+ }