diff options
author | Ajay Singh <ajay.kathat@microchip.com> | 2020-02-14 11:52:16 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-02-14 08:20:11 -0800 |
commit | 759af9b84eec238cee2d0e5b42638f6f046b51d3 (patch) | |
tree | 842b733654ca7a328be4c48474d269eb9c2e510f /drivers/staging/wilc1000/wlan.h | |
parent | staging: wilc1000: make use of FIELD_GET/_PREP macro (diff) | |
download | linux-dev-759af9b84eec238cee2d0e5b42638f6f046b51d3.tar.xz linux-dev-759af9b84eec238cee2d0e5b42638f6f046b51d3.zip |
staging: wilc1000: remove use of MAX_NUN_INT_THRPT_ENH2 macro
Make use of MAX_NUM_INT existing macro to handle the maximum supported
interrupts count and removed MAX_NUN_INT_THRPT_ENH2 macro.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Link: https://lore.kernel.org/r/20200214172250.13026-3-ajay.kathat@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/wlan.h')
-rw-r--r-- | drivers/staging/wilc1000/wlan.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/wlan.h b/drivers/staging/wilc1000/wlan.h index d3e822c374eb..876b02e93a81 100644 --- a/drivers/staging/wilc1000/wlan.h +++ b/drivers/staging/wilc1000/wlan.h @@ -175,7 +175,7 @@ #define INT_3 BIT(IRG_FLAGS_OFFSET + 3) #define INT_4 BIT(IRG_FLAGS_OFFSET + 4) #define INT_5 BIT(IRG_FLAGS_OFFSET + 5) -#define MAX_NUM_INT 6 +#define MAX_NUM_INT 5 /*******************************************/ /* E0 and later Interrupt flags. */ |