From 2c226ff18c13c019c8ca20247aa8d3046eae3f84 Mon Sep 17 00:00:00 2001 From: John Whitmore Date: Sat, 8 Sep 2018 10:44:08 +0100 Subject: staging:rtl8192u: Remove typedef from firmware_init_step_e - Style Remove the typedef directive from enumerated type firmware_init_step_e this clears the checkpatch issue with adding new types to the code. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8192u/r819xU_firmware.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/staging/rtl8192u/r819xU_firmware.h') diff --git a/drivers/staging/rtl8192u/r819xU_firmware.h b/drivers/staging/rtl8192u/r819xU_firmware.h index e78e547044b4..870301853480 100644 --- a/drivers/staging/rtl8192u/r819xU_firmware.h +++ b/drivers/staging/rtl8192u/r819xU_firmware.h @@ -5,11 +5,11 @@ #define GET_COMMAND_PACKET_FRAG_THRESHOLD(v) \ (4 * ((v) / 4) - 8 - USB_HWDESC_HEADER_LEN) -typedef enum _firmware_init_step { +enum firmware_init_step_e { FW_INIT_STEP0_BOOT = 0, FW_INIT_STEP1_MAIN = 1, FW_INIT_STEP2_DATA = 2, -} firmware_init_step_e; +}; typedef enum _opt_rst_type { OPT_SYSTEM_RESET = 0, -- cgit v1.2.3-59-g8ed1b