diff options
| author | Arnd Bergmann <[email protected]> | 2015-11-16 15:05:04 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-12-18 14:19:20 -0800 |
| commit | c4d139cb8d7dbe67cfbaefa70230d144dbada34c (patch) | |
| tree | b987c077a9d78bb4ab112c38d8e9d868fbbd7bc6 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 2e7d5377f684ea1b337a4182f5f025b300d024ff (diff) | |
staging/wilc1000: get rid of WILC_SDIO_IRQ_GPIO
Whether the SDIO function uses an internal or external interrupt
should not be a compiletime decision but be determined at runtime.
This changes the code to pass a GPIO number from the init code
as early as possible, and leaves just one #ifdef WILC_SDIO_IRQ_GPIO
to preserve the previous behavior.
All other locations that check for the interrupt method are turned
into runtime checks based on the gpio number (>=0) or the interrupt
number (>0).
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions