From e5ca54aee977ae042cf02ea1028e78ff94d9c845 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Thu, 4 Oct 2012 12:36:45 +0000 Subject: [PATCH] broadcom-wl: fix build after IRQF_SAMPLE_RANDOM flag removal (#12248) SVN-Revision: 33617 --- package/broadcom-wl/Makefile | 2 +- .../patches/010-remove_irqf_samble_random.patch | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 package/broadcom-wl/patches/010-remove_irqf_samble_random.patch diff --git a/package/broadcom-wl/Makefile b/package/broadcom-wl/Makefile index a2bd679d16..1a7da0f89d 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 0000000000..27b132d115 --- /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; + } -- 2.30.2