Commit 7fa19d06 authored by Marco Cesati's avatar Marco Cesati Committed by Greg Kroah-Hartman
Browse files

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: default avatarMarco Cesati <marco.cesati@gmail.com>
Link: https://lore.kernel.org/r/20210312082638.25512-13-marco.cesati@gmail.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 84e4a52d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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. */