summaryrefslogtreecommitdiff
path: root/package/broadcom-diag/src
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-09-26 12:53:58 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-09-26 12:53:58 +0000
commit62bcd38cc3d3c6f344a165f9169d1eb28d07f863 (patch)
tree530c457ee38e2b0880d49c9eea870c1b5fffa507 /package/broadcom-diag/src
parentb20bdba44f93acca727995f06eb79b563b428aab (diff)
[targets] get rid of the IRQF_SAMPLE_RANDOM flag
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33558 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/broadcom-diag/src')
-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);