diff options
author | John Whitmore <johnfwhitmore@gmail.com> | 2018-09-08 12:44:09 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-10 18:12:16 +0300 |
commit | 001dd86bb1ab31dc5c1c497e5b908aff60e7694b (patch) | |
tree | 53598fec0abed9ebb2b7dc8a0bfd99e1114ecbb6 /drivers/staging/rtl8192u/r819xU_firmware.h | |
parent | 2c226ff18c13c019c8ca20247aa8d3046eae3f84 (diff) | |
download | linux-001dd86bb1ab31dc5c1c497e5b908aff60e7694b.tar.xz |
staging:rtl8192u: Remove typedef from enum opt_rst_type_e - Style
Remove the typedef directive from enumerated type opt_rst_type_e,
this change clears the checkpatch issue with defining new types in
the code.
This is a coding style change which should not impact runtime
code execution.
Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u/r819xU_firmware.h')
-rw-r--r-- | drivers/staging/rtl8192u/r819xU_firmware.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192u/r819xU_firmware.h b/drivers/staging/rtl8192u/r819xU_firmware.h index 870301853480..b84344c1e62b 100644 --- a/drivers/staging/rtl8192u/r819xU_firmware.h +++ b/drivers/staging/rtl8192u/r819xU_firmware.h @@ -11,9 +11,9 @@ enum firmware_init_step_e { FW_INIT_STEP2_DATA = 2, }; -typedef enum _opt_rst_type { +enum opt_rst_type_e { OPT_SYSTEM_RESET = 0, OPT_FIRMWARE_RESET = 1, -} opt_rst_type_e; +}; #endif |