mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 09:09:55 -04:00
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:
committed by
Greg Kroah-Hartman
parent
84e4a52d69
commit
7fa19d064a
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user