]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
staging: rtl8192e: Convert typedef POWER_SAVE_MODE to enum power_save_mode
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 19 Jul 2011 18:05:16 +0000 (13:05 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 15:35:13 +0000 (10:35 -0500)
Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
drivers/staging/rtl8192e/r8190P_def.h

index 72d4e0e57577359ec16dc480a1202c23d0ab40f3..1b6721f763bd6b9e440de0691dd2550be32e95a3 100644 (file)
@@ -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,