Remove typedef from enum. Rename enum. Rename uses. Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx> --- drivers/staging/rtl8192e/r8192E_firmware.h | 4 ++-- drivers/staging/rtl8192e/rtl_core.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/r8192E_firmware.h b/drivers/staging/rtl8192e/r8192E_firmware.h index 98ac58b..803eff5 100644 --- a/drivers/staging/rtl8192e/r8192E_firmware.h +++ b/drivers/staging/rtl8192e/r8192E_firmware.h @@ -39,10 +39,10 @@ enum desc_packet_type { DESC_PACKET_TYPE_NORMAL = 1, }; -typedef enum _firmware_source_e{ +enum firmware_source { FW_SOURCE_IMG_FILE = 0, FW_SOURCE_HEADER_FILE = 1, -} firmware_source_e, *pfirmware_source_e; +}; typedef enum _firmware_status_e{ FW_STATUS_0_INIT = 0, diff --git a/drivers/staging/rtl8192e/rtl_core.h b/drivers/staging/rtl8192e/rtl_core.h index 31279a9..f12fe4c 100644 --- a/drivers/staging/rtl8192e/rtl_core.h +++ b/drivers/staging/rtl8192e/rtl_core.h @@ -602,7 +602,7 @@ struct r8192_priv { struct rt_firmware *pFirmware; enum rtl819x_loopback LoopbackMode; - firmware_source_e firmware_source; + enum firmware_source firmware_source; struct timer_list watch_dog_timer; struct timer_list fsync_timer; -- 1.7.3.4 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel