summaryrefslogtreecommitdiff
path: root/package/broadcom-diag/src/diag.c
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/src/diag.c
parent60eec72adbbe6d8e45a6a5a6b4d25b2b6c46c450 (diff)
downloadmtk-20170518-4a67ccb16328fcc54a964a48ab54ad2dfe66ae42.zip
mtk-20170518-4a67ccb16328fcc54a964a48ab54ad2dfe66ae42.tar.gz
mtk-20170518-4a67ccb16328fcc54a964a48ab54ad2dfe66ae42.tar.bz2
get rid of the IRQF_SAMPLE_RANDOM flag
SVN-Revision: 33558
Diffstat (limited to 'package/broadcom-diag/src/diag.c')
-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 cf6d789..7e0ff02 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);