From: Larry Finger Date: Tue, 19 Jul 2011 18:05:16 +0000 (-0500) Subject: staging: rtl8192e: Convert typedef POWER_SAVE_MODE to enum power_save_mode X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=12f5bc97f4c195c3ec013ca87a26a6f10fcc8932;p=mv-sheeva.git staging: rtl8192e: Convert typedef POWER_SAVE_MODE to enum power_save_mode Remove typedef from enum. Rename enum. Rename uses. Signed-off-by: Larry Finger --- diff --git a/drivers/staging/rtl8192e/r8190P_def.h b/drivers/staging/rtl8192e/r8190P_def.h index 72d4e0e5757..1b6721f763b 100644 --- a/drivers/staging/rtl8192e/r8190P_def.h +++ b/drivers/staging/rtl8192e/r8190P_def.h @@ -145,11 +145,10 @@ enum rf_optype { }; -typedef enum _POWER_SAVE_MODE -{ +enum power_save_mode { POWER_SAVE_MODE_ACTIVE, POWER_SAVE_MODE_SAVE, -} POWER_SAVE_MODE; +}; typedef enum _INTERFACE_SELECT_8190PCI{ INTF_SEL1_MINICARD = 0,