GitHub/mt8127/android_kernel_alcatel_ttab.git
13 years agoMerge git://git.kernel.org/pub/scm/linux/kernel/git/lwfinger/r8192E into staging...
Greg Kroah-Hartman [Thu, 25 Aug 2011 15:27:26 +0000 (08:27 -0700)]
Merge git://git./linux/kernel/git/lwfinger/r8192E into staging-next

* git://git.kernel.org/pub/scm/linux/kernel/git/lwfinger/r8192E: (166 commits)
  staging: rtl8192e: Remove files that are not used
  staging: rtl8192e: Convert typedefs that can be replaced with #define
  staging: rtl8192e: Convert typedef HT_AGGRE_SIZE_E to enum ht_aggre_size
  staging: rtl8192e: Convert typedef RATR_TABLE_MODE_8192S to enum ratr_table_mode_8192s
  staging: rtl8192e: Convert typedef FW_CMD_IO_TYPE to enum fw_cmd_io_type
  staging: rtl8192e: Convert typedef SCAN_OPERATION_BACKUP_OPT to enum scan_op_backup_opt
  staging: rtl8192e: Convert typedef country_code_type_t to enum country_code_type
  staging: rtl8192e: Convert typedef WOLPATTERN_TYPE to enum wol_pattern_type
  staging: rtl8192e: Convert typedef RT_RF_POWER_STATE to enum rt_rf_power_state
  staging: rtl8192e: Convert typedef RT_JOIN_ACTION to enum rt_join_action
  staging: rtl8192e: Convert typedef IPS_CALLBACK_FUNCION to enum ips_callback_function
  staging: rtl8192e: Convert typedef RT_PS_MODE to enum rt_ps_mode
  staging: rtl8192e: Convert typedef Fsync_State to enum fsync_state
  staging: rtl8192e: Convert typedef erp_t to enum erp_t
  staging: rtl8192e: Convert typedef WIRELESS_NETWORK_TYPE to enum wireless_network_type
  staging: rtl8192e: Convert typedef WIRELESS_MODE to enum wireless_mode
  staging: rtl8192e: Convert typedef RT_RF_TYPE_DEF to enum rt_rf_type_def
  staging: rtl8192e: Convert typedef LED_CTL_MODE to enum led_ctl_mode
  staging: rtl8192e: Convert typedef InitialGainOpType to enum init_gain_op_type
  staging: rtl8192e: Convert typedef BA_ACTION to enum ba_action
  ...

13 years agostaging: rtl8192e: Remove files that are not used
Larry Finger [Thu, 25 Aug 2011 00:29:57 +0000 (19:29 -0500)]
staging: rtl8192e: Remove files that are not used

For the most part, these extra files came from the previous version
of the RTL8192E driver.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agoStaging: remove drivers/char/scc.h as it should have gone a while ago
Greg Kroah-Hartman [Wed, 24 Aug 2011 21:44:13 +0000 (14:44 -0700)]
Staging: remove drivers/char/scc.h as it should have gone a while ago

This was needed by one of the generic serial drivers that was removed a
while ago.  No one even noticed that the driver could not be built
properly while it was in the staging directory.

So this removed the unneeded .h file.

Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: xgifb: delete an empty string
Aaro Koskinen [Wed, 24 Aug 2011 15:21:52 +0000 (18:21 +0300)]
staging: xgifb: delete an empty string

Delete a string which is always empty.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Reviewed-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: xgifb: delete driver version information
Aaro Koskinen [Wed, 24 Aug 2011 15:21:51 +0000 (18:21 +0300)]
staging: xgifb: delete driver version information

Delete version information, it's just noise and serves no purpose.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Reviewed-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: xgifb: delete write-only variables
Aaro Koskinen [Wed, 24 Aug 2011 15:21:50 +0000 (18:21 +0300)]
staging: xgifb: delete write-only variables

Delete couple write-only variables.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Reviewed-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: nvec: convert to use platform register and mfdcells
Marc Dietrich [Wed, 24 Aug 2011 18:23:07 +0000 (20:23 +0200)]
staging: nvec: convert to use platform register and mfdcells

This patch converts the nvec to use mfd cells and improves the
registration of the platform driver. The child drivers are also
converted to use mfd cells and platform registration.

Signed-off-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging:iio:trigger push functions that don't need to be generaly available down...
Jonathan Cameron [Wed, 24 Aug 2011 16:28:41 +0000 (17:28 +0100)]
staging:iio:trigger push functions that don't need to be generaly available down into the core.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging:iio:trigger core. Trivial code cleanups.
Jonathan Cameron [Wed, 24 Aug 2011 16:28:40 +0000 (17:28 +0100)]
staging:iio:trigger core. Trivial code cleanups.

Stop exporting functions only intended for core usage.
Return void from function which can never return anything other than 0.
Trivial stype cleanups.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging:iio: spit trigger.h into provider and consumer parts.
Jonathan Cameron [Wed, 24 Aug 2011 16:28:39 +0000 (17:28 +0100)]
staging:iio: spit trigger.h into provider and consumer parts.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging:iio:rename trigger_consumer.h to indicate it is core only.
Jonathan Cameron [Wed, 24 Aug 2011 16:28:38 +0000 (17:28 +0100)]
staging:iio:rename trigger_consumer.h to indicate it is core only.

Need this out the way to create a trigger_consumer.h that actually is
for trigger consumers.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging:iio: prevent removal of module connected to trigger.
Jonathan Cameron [Wed, 24 Aug 2011 16:28:37 +0000 (17:28 +0100)]
staging:iio: prevent removal of module connected to trigger.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging:iio:pollfunc: Make explicit that private data is always pointer to a struct...
Jonathan Cameron [Wed, 24 Aug 2011 16:28:36 +0000 (17:28 +0100)]
staging:iio:pollfunc: Make explicit that private data is always pointer to a struct iio_dev.

This is always true, so lets make it explicit.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging:iio:trigger:sysfs trigger: Add a release function to avoid warning on module...
Jonathan Cameron [Wed, 24 Aug 2011 16:28:35 +0000 (17:28 +0100)]
staging:iio:trigger:sysfs trigger: Add a release function to avoid warning on module removal.

The device is static and should never actually be deleted. The release
is just to avoid a warning from the kernel.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging:iio:triggers reorder module put and device put to ensure that the ops are...
Jonathan Cameron [Wed, 24 Aug 2011 16:28:34 +0000 (17:28 +0100)]
staging:iio:triggers reorder module put and device put to ensure that the ops are still there if put results in device deletion.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging:iio:triggers. Add a reference get to the core for triggers.
Jonathan Cameron [Wed, 24 Aug 2011 16:28:33 +0000 (17:28 +0100)]
staging:iio:triggers. Add a reference get to the core for triggers.

This is to do with dynamically allocated triggers and the need to ensure
the underlying structures don't go away when a consumer is using them.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: iio: adis16220_core.c: add module.h
Greg Kroah-Hartman [Wed, 24 Aug 2011 21:21:48 +0000 (14:21 -0700)]
staging: iio: adis16220_core.c: add module.h

This is needed and makes the linux-next merge easier.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rts5139: add vmalloc.h to some files to fix the build.
Greg Kroah-Hartman [Wed, 24 Aug 2011 21:19:17 +0000 (14:19 -0700)]
staging: rts5139: add vmalloc.h to some files to fix the build.

This is needed to fix the build on alpha and ppc at the least.

Reported-by: Andrew Morton <akpm@linux-foundation.org>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: edwin_rong <edwin_rong@realsil.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Convert typedefs that can be replaced with #define
Larry Finger [Wed, 20 Jul 2011 02:17:25 +0000 (21:17 -0500)]
staging: rtl8192e: Convert typedefs that can be replaced with #define

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef HT_AGGRE_SIZE_E to enum ht_aggre_size
Larry Finger [Wed, 20 Jul 2011 02:10:02 +0000 (21:10 -0500)]
staging: rtl8192e: Convert typedef HT_AGGRE_SIZE_E to enum ht_aggre_size

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef RATR_TABLE_MODE_8192S to enum ratr_table_mode_8192s
Larry Finger [Wed, 20 Jul 2011 02:07:59 +0000 (21:07 -0500)]
staging: rtl8192e: Convert typedef RATR_TABLE_MODE_8192S to enum ratr_table_mode_8192s

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef FW_CMD_IO_TYPE to enum fw_cmd_io_type
Larry Finger [Wed, 20 Jul 2011 02:06:24 +0000 (21:06 -0500)]
staging: rtl8192e: Convert typedef FW_CMD_IO_TYPE to enum fw_cmd_io_type

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef SCAN_OPERATION_BACKUP_OPT to enum scan_op_backup_opt
Larry Finger [Wed, 20 Jul 2011 02:04:56 +0000 (21:04 -0500)]
staging: rtl8192e: Convert typedef SCAN_OPERATION_BACKUP_OPT to enum scan_op_backup_opt

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef country_code_type_t to enum country_code_type
Larry Finger [Wed, 20 Jul 2011 02:03:26 +0000 (21:03 -0500)]
staging: rtl8192e: Convert typedef country_code_type_t to enum country_code_type

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef WOLPATTERN_TYPE to enum wol_pattern_type
Larry Finger [Wed, 20 Jul 2011 02:02:02 +0000 (21:02 -0500)]
staging: rtl8192e: Convert typedef WOLPATTERN_TYPE to enum wol_pattern_type

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef RT_RF_POWER_STATE to enum rt_rf_power_state
Larry Finger [Wed, 20 Jul 2011 02:00:33 +0000 (21:00 -0500)]
staging: rtl8192e: Convert typedef RT_RF_POWER_STATE to enum rt_rf_power_state

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef RT_JOIN_ACTION to enum rt_join_action
Larry Finger [Wed, 20 Jul 2011 01:59:09 +0000 (20:59 -0500)]
staging: rtl8192e: Convert typedef RT_JOIN_ACTION to enum rt_join_action

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef IPS_CALLBACK_FUNCION to enum ips_callback_function
Larry Finger [Wed, 20 Jul 2011 01:57:34 +0000 (20:57 -0500)]
staging: rtl8192e: Convert typedef IPS_CALLBACK_FUNCION to enum ips_callback_function

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef RT_PS_MODE to enum rt_ps_mode
Larry Finger [Wed, 20 Jul 2011 01:56:03 +0000 (20:56 -0500)]
staging: rtl8192e: Convert typedef RT_PS_MODE to enum rt_ps_mode

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef Fsync_State to enum fsync_state
Larry Finger [Wed, 20 Jul 2011 01:54:40 +0000 (20:54 -0500)]
staging: rtl8192e: Convert typedef Fsync_State to enum fsync_state

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef erp_t to enum erp_t
Larry Finger [Wed, 20 Jul 2011 01:53:13 +0000 (20:53 -0500)]
staging: rtl8192e: Convert typedef erp_t to enum erp_t

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef WIRELESS_NETWORK_TYPE to enum wireless_network_type
Larry Finger [Wed, 20 Jul 2011 01:51:54 +0000 (20:51 -0500)]
staging: rtl8192e: Convert typedef WIRELESS_NETWORK_TYPE to enum wireless_network_type

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef WIRELESS_MODE to enum wireless_mode
Larry Finger [Wed, 20 Jul 2011 01:50:21 +0000 (20:50 -0500)]
staging: rtl8192e: Convert typedef WIRELESS_MODE to enum wireless_mode

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef RT_RF_TYPE_DEF to enum rt_rf_type_def
Larry Finger [Wed, 20 Jul 2011 01:48:58 +0000 (20:48 -0500)]
staging: rtl8192e: Convert typedef RT_RF_TYPE_DEF to enum rt_rf_type_def

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef LED_CTL_MODE to enum led_ctl_mode
Larry Finger [Wed, 20 Jul 2011 01:47:28 +0000 (20:47 -0500)]
staging: rtl8192e: Convert typedef LED_CTL_MODE to enum led_ctl_mode

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef InitialGainOpType to enum init_gain_op_type
Larry Finger [Wed, 20 Jul 2011 01:46:02 +0000 (20:46 -0500)]
staging: rtl8192e: Convert typedef InitialGainOpType to enum init_gain_op_type

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef BA_ACTION to enum ba_action
Larry Finger [Wed, 20 Jul 2011 01:29:12 +0000 (20:29 -0500)]
staging: rtl8192e: Convert typedef BA_ACTION to enum ba_action

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef TS_ACTION to enum ts_action
Larry Finger [Wed, 20 Jul 2011 01:27:45 +0000 (20:27 -0500)]
staging: rtl8192e: Convert typedef TS_ACTION to enum ts_action

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef ACT_CATEGORY to enum act_category
Larry Finger [Wed, 20 Jul 2011 01:26:18 +0000 (20:26 -0500)]
staging: rtl8192e: Convert typedef ACT_CATEGORY to enum act_category

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef RT_OP_MODE to enum rt_op_mode
Larry Finger [Wed, 20 Jul 2011 01:24:49 +0000 (20:24 -0500)]
staging: rtl8192e: Convert typedef RT_OP_MODE to enum rt_op_mode

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef HW_VARIABLES to enum hw_variables
Larry Finger [Wed, 20 Jul 2011 01:23:18 +0000 (20:23 -0500)]
staging: rtl8192e: Convert typedef HW_VARIABLES to enum hw_variables

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef HAL_DEF_VARIABLE to enum hal_def_variable
Larry Finger [Wed, 20 Jul 2011 01:21:54 +0000 (20:21 -0500)]
staging: rtl8192e: Convert typedef HAL_DEF_VARIABLE to enum hal_def_variable

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef DM_DBG_E to enum dm_dbg
Larry Finger [Wed, 20 Jul 2011 01:20:23 +0000 (20:20 -0500)]
staging: rtl8192e: Convert typedef DM_DBG_E to enum dm_dbg

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef DM_CCK_Rx_Path_Method to enum dm_cck_rx_path_method
Larry Finger [Wed, 20 Jul 2011 01:19:00 +0000 (20:19 -0500)]
staging: rtl8192e: Convert typedef DM_CCK_Rx_Path_Method to enum dm_cck_rx_path_method

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef dm_dig_cs_ratio_e to enum dm_dig_cs_ratio
Larry Finger [Wed, 20 Jul 2011 01:17:05 +0000 (20:17 -0500)]
staging: rtl8192e: Convert typedef dm_dig_cs_ratio_e to enum dm_dig_cs_ratio

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef dm_dig_pd_th_e to enum dm_dig_pd_th
Larry Finger [Wed, 20 Jul 2011 01:15:45 +0000 (20:15 -0500)]
staging: rtl8192e: Convert typedef dm_dig_pd_th_e to enum dm_dig_pd_th

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef dm_dig_connect_e to enum dm_dig_connect
Larry Finger [Wed, 20 Jul 2011 01:14:21 +0000 (20:14 -0500)]
staging: rtl8192e: Convert typedef dm_dig_connect_e to enum dm_dig_connect

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef dm_dig_dbg_e to enum dm_dig_dbg
Larry Finger [Wed, 20 Jul 2011 01:08:51 +0000 (20:08 -0500)]
staging: rtl8192e: Convert typedef dm_dig_dbg_e to enum dm_dig_dbg

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef DM_DIG_EXT_PORT_ALG_E to enum dm_dig_ext_port_alg
Larry Finger [Wed, 20 Jul 2011 01:07:22 +0000 (20:07 -0500)]
staging: rtl8192e: Convert typedef DM_DIG_EXT_PORT_ALG_E to enum dm_dig_ext_port_alg

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef DM_DIG_TWO_PORT_ALG_E to enum dm_dig_two_port_alg
Larry Finger [Wed, 20 Jul 2011 01:05:53 +0000 (20:05 -0500)]
staging: rtl8192e: Convert typedef DM_DIG_TWO_PORT_ALG_E to enum dm_dig_two_port_alg

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef dm_dig_alg_e to enum dm_dig_alg
Larry Finger [Wed, 20 Jul 2011 01:04:17 +0000 (20:04 -0500)]
staging: rtl8192e: Convert typedef dm_dig_alg_e to enum dm_dig_alg

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef dm_dig_op_e to enum dm_dig_op_sta
Larry Finger [Wed, 20 Jul 2011 01:02:56 +0000 (20:02 -0500)]
staging: rtl8192e: Convert typedef dm_dig_op_e to enum dm_dig_op_sta

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef dm_ratr_sta_e to enum dm_ratr_sta
Larry Finger [Wed, 20 Jul 2011 01:01:24 +0000 (20:01 -0500)]
staging: rtl8192e: Convert typedef dm_ratr_sta_e to enum dm_ratr_sta

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef dm_dig_sta_e to enum dm_dig_sta
Larry Finger [Wed, 20 Jul 2011 00:59:11 +0000 (19:59 -0500)]
staging: rtl8192e: Convert typedef dm_dig_sta_e to enum dm_dig_sta

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef DBGP_FLAG_E to enum dbgp_flag
Larry Finger [Wed, 20 Jul 2011 00:57:24 +0000 (19:57 -0500)]
staging: rtl8192e: Convert typedef DBGP_FLAG_E to enum dbgp_flag

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef TWO_PORT_STATUS to enum two_port_status
Larry Finger [Wed, 20 Jul 2011 00:55:35 +0000 (19:55 -0500)]
staging: rtl8192e: Convert typedef TWO_PORT_STATUS to enum two_port_status

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef PCI_BRIDGE_VENDOR to enum pci_bridge_vendor
Larry Finger [Wed, 20 Jul 2011 00:53:52 +0000 (19:53 -0500)]
staging: rtl8192e: Convert typedef PCI_BRIDGE_VENDOR to enum pci_bridge_vendor

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef IC_INFERIORITY_8192S to enum ic_inferiority_8192s
Larry Finger [Wed, 20 Jul 2011 00:52:21 +0000 (19:52 -0500)]
staging: rtl8192e: Convert typedef IC_INFERIORITY_8192S to enum ic_inferiority_8192s

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef RESET_TYPE to enum reset_type
Larry Finger [Wed, 20 Jul 2011 00:49:51 +0000 (19:49 -0500)]
staging: rtl8192e: Convert typedef RESET_TYPE to enum reset_type

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef RT_CUSTOMER_ID to enum rt_customer_id
Larry Finger [Wed, 20 Jul 2011 00:42:55 +0000 (19:42 -0500)]
staging: rtl8192e: Convert typedef RT_CUSTOMER_ID to enum rt_customer_id

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef RT_STATUS to enum rt_status
Larry Finger [Wed, 20 Jul 2011 00:41:16 +0000 (19:41 -0500)]
staging: rtl8192e: Convert typedef RT_STATUS to enum rt_status

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef RF_STEP_E to enum rf_step
Larry Finger [Wed, 20 Jul 2011 00:39:12 +0000 (19:39 -0500)]
staging: rtl8192e: Convert typedef RF_STEP_E to enum rf_step

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef RT_RF_TYPE_819xU to enum rt_rf_type_819xu
Larry Finger [Wed, 20 Jul 2011 00:37:46 +0000 (19:37 -0500)]
staging: rtl8192e: Convert typedef RT_RF_TYPE_819xU to enum rt_rf_type_819xu

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef DCMD_TXCMD_OP to enum dcmg_txcmd_op
Larry Finger [Wed, 20 Jul 2011 00:36:07 +0000 (19:36 -0500)]
staging: rtl8192e: Convert typedef DCMD_TXCMD_OP to enum dcmg_txcmd_op

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef RT_EEPROM_TYPE to enum rt_eeprom_type
Larry Finger [Wed, 20 Jul 2011 00:34:33 +0000 (19:34 -0500)]
staging: rtl8192e: Convert typedef RT_EEPROM_TYPE to enum rt_eeprom_type

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef nic_t to enum nic_t
Larry Finger [Wed, 20 Jul 2011 00:33:00 +0000 (19:33 -0500)]
staging: rtl8192e: Convert typedef nic_t to enum nic_t

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef TR_SELECT to enum tr_select
Larry Finger [Wed, 20 Jul 2011 00:31:37 +0000 (19:31 -0500)]
staging: rtl8192e: Convert typedef TR_SELECT to enum tr_select

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef ACM_METHOD to enum acm_method
Larry Finger [Wed, 20 Jul 2011 00:30:04 +0000 (19:30 -0500)]
staging: rtl8192e: Convert typedef ACM_METHOD to enum acm_method

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef DIRECTION_VALUE to enum direction_value
Larry Finger [Wed, 20 Jul 2011 00:28:39 +0000 (19:28 -0500)]
staging: rtl8192e: Convert typedef DIRECTION_VALUE to enum direction_value

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef QOS_ELE_SUBTYPE to enum qos_ele_subtype
Larry Finger [Wed, 20 Jul 2011 00:27:05 +0000 (19:27 -0500)]
staging: rtl8192e: Convert typedef QOS_ELE_SUBTYPE to enum qos_ele_subtype

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef ACK_POLICY to enum ack_policy
Larry Finger [Wed, 20 Jul 2011 00:24:06 +0000 (19:24 -0500)]
staging: rtl8192e: Convert typedef ACK_POLICY to enum ack_policy

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef RT_HT_CAPBILITY to enum rt_ht_capability
Larry Finger [Wed, 20 Jul 2011 00:22:37 +0000 (19:22 -0500)]
staging: rtl8192e: Convert typedef RT_HT_CAPBILITY to enum rt_ht_capability

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef HT_IOT_RAFUNC to enum ht_iot_rafunc
Larry Finger [Wed, 20 Jul 2011 00:18:03 +0000 (19:18 -0500)]
staging: rtl8192e: Convert typedef HT_IOT_RAFUNC to enum ht_iot_rafunc

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef HT_IOT_ACTION_E to enum ht_iot_action
Larry Finger [Wed, 20 Jul 2011 00:16:30 +0000 (19:16 -0500)]
staging: rtl8192e: Convert typedef HT_IOT_ACTION_E to enum ht_iot_action

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef HT_IOT_PEER_E to enum ht_iot_peer
Larry Finger [Wed, 20 Jul 2011 00:12:22 +0000 (19:12 -0500)]
staging: rtl8192e: Convert typedef HT_IOT_PEER_E to enum ht_iot_peer

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef HT_AGGRE_MODE_E to enum ht_aggre_mode
Larry Finger [Wed, 20 Jul 2011 00:06:51 +0000 (19:06 -0500)]
staging: rtl8192e: Convert typedef HT_AGGRE_MODE_E to enum ht_aggre_mode

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef HT_SPEC_VER to enum ht_spec_ver
Larry Finger [Wed, 20 Jul 2011 00:05:23 +0000 (19:05 -0500)]
staging: rtl8192e: Convert typedef HT_SPEC_VER to enum ht_spec_ver

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef HT_BW40_SC_E to enum ht_bw40_sc
Larry Finger [Wed, 20 Jul 2011 00:03:53 +0000 (19:03 -0500)]
staging: rtl8192e: Convert typedef HT_BW40_SC_E to enum ht_bw40_sc

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef HT_ACTION to enum ht_action
Larry Finger [Tue, 19 Jul 2011 23:24:28 +0000 (18:24 -0500)]
staging: rtl8192e: Convert typedef HT_ACTION to enum ht_action

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef CHNLOP to enum chnl_op
Larry Finger [Tue, 19 Jul 2011 23:23:23 +0000 (18:23 -0500)]
staging: rtl8192e: Convert typedef CHNLOP to enum chnl_op

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef HT_EXTCHNL_OFFSET to enum ht_extchnl_offset
Larry Finger [Tue, 19 Jul 2011 23:22:07 +0000 (18:22 -0500)]
staging: rtl8192e: Convert typedef HT_EXTCHNL_OFFSET to enum ht_extchnl_offset

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef HT_CHANNEL_WIDTH to enum ht_channel_width
Larry Finger [Tue, 19 Jul 2011 23:20:30 +0000 (18:20 -0500)]
staging: rtl8192e: Convert typedef HT_CHANNEL_WIDTH to enum ht_channel_width

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef HT_MCS_RATE to enum ht_mcs_rate
Larry Finger [Tue, 19 Jul 2011 23:17:06 +0000 (18:17 -0500)]
staging: rtl8192e: Convert typedef HT_MCS_RATE to enum ht_mcs_rate

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef RF90_RADIO_PATH_E to enum rf90_radio_path
Larry Finger [Tue, 19 Jul 2011 23:15:50 +0000 (18:15 -0500)]
staging: rtl8192e: Convert typedef RF90_RADIO_PATH_E to enum rf90_radio_path

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef HW90_BLOCK_E to enum hw90_block
Larry Finger [Tue, 19 Jul 2011 23:13:46 +0000 (18:13 -0500)]
staging: rtl8192e: Convert typedef HW90_BLOCK_E to enum hw90_block

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef SwChnlCmdID to enum sw_chnl_cmd_id
Larry Finger [Tue, 19 Jul 2011 23:12:15 +0000 (18:12 -0500)]
staging: rtl8192e: Convert typedef SwChnlCmdID to enum sw_chnl_cmd_id

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef BaseBand_Config_Type to enum baseband_config
Larry Finger [Tue, 19 Jul 2011 23:10:40 +0000 (18:10 -0500)]
staging: rtl8192e: Convert typedef BaseBand_Config_Type to enum baseband_config

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef firmware_status_e to enum firmware_status
Larry Finger [Tue, 19 Jul 2011 22:28:55 +0000 (17:28 -0500)]
staging: rtl8192e: Convert typedef firmware_status_e to enum firmware_status

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef firmware_source_e to enum firmware_source
Larry Finger [Tue, 19 Jul 2011 18:36:21 +0000 (13:36 -0500)]
staging: rtl8192e: Convert typedef firmware_source_e to enum firmware_source

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef desc_packet_type_e to enum desc_packet_type
Larry Finger [Tue, 19 Jul 2011 18:33:44 +0000 (13:33 -0500)]
staging: rtl8192e: Convert typedef desc_packet_type_e to enum desc_packet_type

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef opt_rst_type_e to enum opt_rst_type
Larry Finger [Tue, 19 Jul 2011 18:13:24 +0000 (13:13 -0500)]
staging: rtl8192e: Convert typedef opt_rst_type_e to enum opt_rst_type

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef firmware_init_step_e to enum firmware_init_step
Larry Finger [Tue, 19 Jul 2011 18:11:41 +0000 (13:11 -0500)]
staging: rtl8192e: Convert typedef firmware_init_step_e to enum firmware_init_step

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef cmpk_element_e to enum cmpk_element
Larry Finger [Tue, 19 Jul 2011 18:09:50 +0000 (13:09 -0500)]
staging: rtl8192e: Convert typedef cmpk_element_e to enum cmpk_element

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef INTERFACE_SELECT_8190PCI to enum interface_select_...
Larry Finger [Tue, 19 Jul 2011 18:07:19 +0000 (13:07 -0500)]
staging: rtl8192e: Convert typedef INTERFACE_SELECT_8190PCI to enum interface_select_8190pci

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef POWER_SAVE_MODE to enum power_save_mode
Larry Finger [Tue, 19 Jul 2011 18:05:16 +0000 (13:05 -0500)]
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 <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef RF_OpType_E to enum rf_optype
Larry Finger [Tue, 19 Jul 2011 18:03:47 +0000 (13:03 -0500)]
staging: rtl8192e: Convert typedef RF_OpType_E to enum rf_optype

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef VERSION_8190 to enum version_8190_loopback
Larry Finger [Tue, 19 Jul 2011 17:56:14 +0000 (12:56 -0500)]
staging: rtl8192e: Convert typedef VERSION_8190 to enum version_8190_loopback

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef rtl819x_loopback_e to enum rtl819x_loopback
Larry Finger [Tue, 19 Jul 2011 17:54:24 +0000 (12:54 -0500)]
staging: rtl8192e: Convert typedef rtl819x_loopback_e to enum rtl819x_loopback

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Prepare header files to ease use of typedef enum conversion
Larry Finger [Tue, 19 Jul 2011 17:50:41 +0000 (12:50 -0500)]
staging: rtl8192e: Prepare header files to ease use of typedef enum conversion

The tool that I am using fails for certain conditions. This patch makes trivial
changes to the source to allow the tool to work for all cases.

I also remove some artifacts left from the typedef struct conversion.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef frameqos to union frameqos
Larry Finger [Tue, 19 Jul 2011 15:37:34 +0000 (10:37 -0500)]
staging: rtl8192e: Convert typedef frameqos to union frameqos

Remove typedef from union.
Rename union.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>