summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/wilc_wlan.c
diff options
context:
space:
mode:
authorAjay Singh2018-01-11 15:12:19 +0100
committerGreg Kroah-Hartman2018-01-15 15:52:21 +0100
commita9ee75e85043743ebaa5143e58b21be406ae85ae (patch)
treea4fc54439d370bff2b3b47e12f8afaca0f81ad9e /drivers/staging/wilc1000/wilc_wlan.c
parentstaging: wilc1000: removed enum typedef BUS_ACQUIRE_T (diff)
downloadkernel-qcow2-linux-a9ee75e85043743ebaa5143e58b21be406ae85ae.tar.gz
kernel-qcow2-linux-a9ee75e85043743ebaa5143e58b21be406ae85ae.tar.xz
kernel-qcow2-linux-a9ee75e85043743ebaa5143e58b21be406ae85ae.zip
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.c')
-rw-r--r--drivers/staging/wilc1000/wilc_wlan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c
index 4d070c472e9b..ac76bc7b166e 100644
--- a/drivers/staging/wilc1000/wilc_wlan.c
+++ b/drivers/staging/wilc1000/wilc_wlan.c
@@ -14,7 +14,7 @@ static inline void acquire_bus(struct wilc *wilc, enum bus_acquire acquire)
chip_wakeup(wilc);
}
-static inline void release_bus(struct wilc *wilc, BUS_RELEASE_T release)
+static inline void release_bus(struct wilc *wilc, enum bus_release release)
{
if (release == RELEASE_ALLOW_SLEEP)
chip_allow_sleep(wilc);