aboutsummaryrefslogtreecommitdiffstats
path: root/package/broadcom-diag
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-09-26 12:53:58 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-09-26 12:53:58 +0000
commit4a67ccb16328fcc54a964a48ab54ad2dfe66ae42 (patch)
tree077ccbc48d37655215605b79e41f40c7a220fd34 /package/broadcom-diag
parent60eec72adbbe6d8e45a6a5a6b4d25b2b6c46c450 (diff)
downloadupstream-4a67ccb16328fcc54a964a48ab54ad2dfe66ae42.tar.gz
upstream-4a67ccb16328fcc54a964a48ab54ad2dfe66ae42.tar.bz2
upstream-4a67ccb16328fcc54a964a48ab54ad2dfe66ae42.zip
get rid of the IRQF_SAMPLE_RANDOM flag
SVN-Revision: 33558
Diffstat (limited to 'package/broadcom-diag')
-rw-r--r--package/broadcom-diag/src/diag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/broadcom-diag/src/diag.c b/package/broadcom-diag/src/diag.c
index cf6d789c29..7e0ff02e15 100644
--- a/package/broadcom-diag/src/diag.c
+++ b/package/broadcom-diag/src/diag.c
@@ -1297,7 +1297,7 @@ static void gpio_set_irqenable(int enabled, irqreturn_t (*handler)(int, void *))
if (irq == -EINVAL) return;
if (enabled) {
- if (request_irq(irq, handler, IRQF_SHARED | IRQF_SAMPLE_RANDOM, "gpio", handler))
+ if (request_irq(irq, handler, IRQF_SHARED, "gpio", handler))
return;
} else {
free_irq(irq, handler);