diff options
author | Ajay Singh <ajay.kathat@microchip.com> | 2018-01-11 19:42:19 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-15 15:52:21 +0100 |
commit | a9ee75e85043743ebaa5143e58b21be406ae85ae (patch) | |
tree | a4fc54439d370bff2b3b47e12f8afaca0f81ad9e /drivers/staging/wilc1000/wilc_wlan_if.h | |
parent | 13ae5a7bb173a327769848b1c7f5b2a41d407d3e (diff) |
staging: wilc1000: removed enum typedef BUS_RELEASE_T
This patch removes enum typedef BUS_RELEASE_T and define
"enum bus_release" to use instead of typedef.
checkpatch.pl not to add new typedef warning is fixed with this patch.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_wlan_if.h')
-rw-r--r-- | drivers/staging/wilc1000/wilc_wlan_if.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/wilc1000/wilc_wlan_if.h b/drivers/staging/wilc1000/wilc_wlan_if.h index 2bc500d6d4a1..1641ddb01b7b 100644 --- a/drivers/staging/wilc1000/wilc_wlan_if.h +++ b/drivers/staging/wilc1000/wilc_wlan_if.h @@ -148,10 +148,10 @@ enum bus_acquire { ACQUIRE_AND_WAKEUP = 1, }; -typedef enum { +enum bus_release { RELEASE_ONLY = 0, RELEASE_ALLOW_SLEEP = 1, -} BUS_RELEASE_T; +}; typedef enum { NO_SECURITY = 0, |