Commit 2da4fc24 authored by Xenia Ragiadakou's avatar Xenia Ragiadakou Committed by Greg Kroah-Hartman
Browse files

staging: rtl8192u: fix braces in r8192U.h



This patch fixes the whitespace around braces and brace
position, and corrects the following checkpatch errors:
ERROR: space required after that close brace '}'
ERROR: space required before the open brace '{'
ERROR: that open brace { should be on the previous line
ERROR: open brace '{' following enum go on the same line

Signed-off-by: default avatarXenia Ragiadakou <burzalodowa@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4e0be668
Loading
Loading
Loading
Loading
+52 −54
Original line number Diff line number Diff line
@@ -142,13 +142,11 @@ do { if (rt_global_debug_component & component) \
 * please set ieee80211_debug_level to DATA|BA
 */
#define RT_DEBUG_DATA(level, data, datalen)      \
	do{ if ((rt_global_debug_component & (level)) == (level))   \
		{       \
	do { if ((rt_global_debug_component & (level)) == (level)) {       \
			int i;                                  \
			u8 *pdata = (u8 *) data;                 \
			printk(KERN_DEBUG RTL819xU_MODULE_NAME ": %s()\n", __FUNCTION__);   \
			for(i=0; i<(int)(datalen); i++)                 \
			{                                               \
			for(i=0; i<(int)(datalen); i++) {               \
				printk("%2x ", pdata[i]);               \
				if ((i+1)%16 == 0) printk("\n");        \
			}                               \
@@ -422,8 +420,7 @@ typedef struct rx_drvinfo_819x_usb{
/* Octets for crc32 (FCS, ICV) */
#define scrclng					4

typedef enum rf_optype
{
typedef enum rf_optype {
	RF_OP_By_SW_3wire = 0,
	RF_OP_By_FW,
	RF_OP_MAX
@@ -829,8 +826,7 @@ typedef struct _phy_ofdm_rx_status_rxsc_sgien_exintfflag{
	u8			ex_intf_flag:1;
} phy_ofdm_rx_status_rxsc_sgien_exintfflag;

typedef enum _RT_CUSTOMER_ID
{
typedef enum _RT_CUSTOMER_ID {
	RT_CID_DEFAULT = 0,
	RT_CID_8187_ALPHA0 = 1,
	RT_CID_8187_SERCOMM_PS = 2,
@@ -899,7 +895,9 @@ typedef struct r8192_priv {
	/* If TCR reports card V B/C, this discriminates */
	u8 card_8192_version;
	short enable_gpio0;
	enum card_type {PCI,MINIPCI,CARDBUS,USB}card_type;
	enum card_type {
		PCI, MINIPCI, CARDBUS, USB
	} card_type;
	short hw_plcp_len;
	short plcp_preamble_mode;