diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-09-26 12:53:58 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2012-09-26 12:53:58 +0000 |
commit | fa31c1ff0621abd411f259ebbb47eea41196e021 (patch) | |
tree | 530c457ee38e2b0880d49c9eea870c1b5fffa507 /package/broadcom-diag/src | |
parent | dcae68fe917b07faafbc90a320809e06beecde84 (diff) | |
download | upstream-fa31c1ff0621abd411f259ebbb47eea41196e021.tar.gz upstream-fa31c1ff0621abd411f259ebbb47eea41196e021.tar.bz2 upstream-fa31c1ff0621abd411f259ebbb47eea41196e021.zip |
[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.c | 2 |
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); |