staging: rtl8723bs: remove typedefs in drv_types.h

This commit fixes the following checkpatch.pl warning:

    WARNING: do not add new typedefs
    #374: FILE: include/drv_types.h:374:
    +typedef enum _DRIVER_STATE {

Signed-off-by: Marco Cesati <marco.cesati@gmail.com>
Link: https://lore.kernel.org/r/20210312082638.25512-13-marco.cesati@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Marco Cesati
2021-03-12 09:26:17 +01:00
committed by Greg Kroah-Hartman
parent 84e4a52d69
commit 7fa19d064a

View File

@@ -371,11 +371,11 @@ enum ADAPTER_TYPE {
MAX_ADAPTER = 0xFF,
};
typedef enum _DRIVER_STATE {
enum DRIVER_STATE {
DRIVER_NORMAL = 0,
DRIVER_DISAPPEAR = 1,
DRIVER_REPLACE_DONGLE = 2,
} DRIVER_STATE;
};
struct adapter {
int DriverState;/* for disable driver using module, use dongle to replace module. */