From: Larry Finger Date: Tue, 19 Jul 2011 18:36:21 +0000 (-0500) Subject: staging: rtl8192e: Convert typedef firmware_source_e to enum firmware_source X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9659e7f527b4e7b768e1f256bc048b676ee42266;p=linux-beck.git staging: rtl8192e: Convert typedef firmware_source_e to enum firmware_source Remove typedef from enum. Rename enum. Rename uses. Signed-off-by: Larry Finger --- diff --git a/drivers/staging/rtl8192e/r8192E_firmware.h b/drivers/staging/rtl8192e/r8192E_firmware.h index 98ac58bdef26..803eff58f391 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 31279a95ac8c..f12fe4cd2938 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;