aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2800.h
diff options
context:
space:
mode:
authorMark Einon <mark.einon@gmail.com>2010-11-06 10:44:52 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-11-15 13:26:17 -0500
commitfd8dab9a67b22c35f38f0f5bfff4b3f6ed02e43a (patch)
tree015b5a251a194a363cf4e20d96e47a2255892732 /drivers/net/wireless/rt2x00/rt2800.h
parentcf553477a4dfb819c66ebfcad9f3b5cc3b93a9af (diff)
rt2x00: checkpatch.pl error fixes for rt2800.h
rt2800.h:1511: ERROR: space prohibited after that open parenthesis '(' rt2800.h:1511: ERROR: space prohibited before that close parenthesis ')' rt2800.h:1513: ERROR: space prohibited after that open parenthesis '(' rt2800.h:1513: ERROR: space prohibited before that close parenthesis ')' rt2800.h:1515: ERROR: space prohibited after that open parenthesis '(' rt2800.h:1515: ERROR: space prohibited before that close parenthesis ')' rt2800.h:1517: ERROR: space prohibited after that open parenthesis '(' rt2800.h:1517: ERROR: space prohibited before that close parenthesis ')' rt2800.h:1519: ERROR: space prohibited after that open parenthesis '(' rt2800.h:1519: ERROR: space prohibited before that close parenthesis ')' rt2800.h:1521: ERROR: space prohibited after that open parenthesis '(' rt2800.h:1521: ERROR: space prohibited before that close parenthesis ')' rt2800.h:1661: ERROR: space prohibited after that open parenthesis '(' rt2800.h:1661: ERROR: space prohibited before that close parenthesis ')' rt2800.h:1662: ERROR: space prohibited after that open parenthesis '(' rt2800.h:1662: ERROR: space prohibited before that close parenthesis ')' rt2800.h:1663: ERROR: space prohibited before that close parenthesis ')' rt2800.h:2013: ERROR: space prohibited after that open parenthesis '(' rt2800.h:2013: ERROR: space prohibited before that close parenthesis ')' rt2800.h:2014: ERROR: space prohibited after that open parenthesis '(' rt2800.h:2014: ERROR: space prohibited before that close parenthesis ')' Signed-off-by: Mark Einon <mark.einon@gmail.com> Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2800.h')
-rw-r--r--drivers/net/wireless/rt2x00/rt2800.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800.h b/drivers/net/wireless/rt2x00/rt2800.h
index 6cfed0638ceb..c2cc126502d6 100644
--- a/drivers/net/wireless/rt2x00/rt2800.h
+++ b/drivers/net/wireless/rt2x00/rt2800.h
@@ -1508,17 +1508,17 @@
1508#define SHARED_KEY_MODE_BASE 0x7000 1508#define SHARED_KEY_MODE_BASE 0x7000
1509 1509
1510#define MAC_WCID_ENTRY(__idx) \ 1510#define MAC_WCID_ENTRY(__idx) \
1511 ( MAC_WCID_BASE + ((__idx) * sizeof(struct mac_wcid_entry)) ) 1511 (MAC_WCID_BASE + ((__idx) * sizeof(struct mac_wcid_entry)))
1512#define PAIRWISE_KEY_ENTRY(__idx) \ 1512#define PAIRWISE_KEY_ENTRY(__idx) \
1513 ( PAIRWISE_KEY_TABLE_BASE + ((__idx) * sizeof(struct hw_key_entry)) ) 1513 (PAIRWISE_KEY_TABLE_BASE + ((__idx) * sizeof(struct hw_key_entry)))
1514#define MAC_IVEIV_ENTRY(__idx) \ 1514#define MAC_IVEIV_ENTRY(__idx) \
1515 ( MAC_IVEIV_TABLE_BASE + ((__idx) * sizeof(struct mac_iveiv_entry)) ) 1515 (MAC_IVEIV_TABLE_BASE + ((__idx) * sizeof(struct mac_iveiv_entry)))
1516#define MAC_WCID_ATTR_ENTRY(__idx) \ 1516#define MAC_WCID_ATTR_ENTRY(__idx) \
1517 ( MAC_WCID_ATTRIBUTE_BASE + ((__idx) * sizeof(u32)) ) 1517 (MAC_WCID_ATTRIBUTE_BASE + ((__idx) * sizeof(u32)))
1518#define SHARED_KEY_ENTRY(__idx) \ 1518#define SHARED_KEY_ENTRY(__idx) \
1519 ( SHARED_KEY_TABLE_BASE + ((__idx) * sizeof(struct hw_key_entry)) ) 1519 (SHARED_KEY_TABLE_BASE + ((__idx) * sizeof(struct hw_key_entry)))
1520#define SHARED_KEY_MODE_ENTRY(__idx) \ 1520#define SHARED_KEY_MODE_ENTRY(__idx) \
1521 ( SHARED_KEY_MODE_BASE + ((__idx) * sizeof(u32)) ) 1521 (SHARED_KEY_MODE_BASE + ((__idx) * sizeof(u32)))
1522 1522
1523struct mac_wcid_entry { 1523struct mac_wcid_entry {
1524 u8 mac[6]; 1524 u8 mac[6];
@@ -1658,9 +1658,9 @@ struct mac_iveiv_entry {
1658#define HW_BEACON_BASE7 0x5bc0 1658#define HW_BEACON_BASE7 0x5bc0
1659 1659
1660#define HW_BEACON_OFFSET(__index) \ 1660#define HW_BEACON_OFFSET(__index) \
1661 ( ((__index) < 4) ? ( HW_BEACON_BASE0 + (__index * 0x0200) ) : \ 1661 (((__index) < 4) ? (HW_BEACON_BASE0 + (__index * 0x0200)) : \
1662 (((__index) < 6) ? ( HW_BEACON_BASE4 + ((__index - 4) * 0x0200) ) : \ 1662 (((__index) < 6) ? (HW_BEACON_BASE4 + ((__index - 4) * 0x0200)) : \
1663 (HW_BEACON_BASE6 - ((__index - 6) * 0x0200))) ) 1663 (HW_BEACON_BASE6 - ((__index - 6) * 0x0200))))
1664 1664
1665/* 1665/*
1666 * BBP registers. 1666 * BBP registers.
@@ -2010,8 +2010,8 @@ struct mac_iveiv_entry {
2010/* 2010/*
2011 * DMA descriptor defines. 2011 * DMA descriptor defines.
2012 */ 2012 */
2013#define TXWI_DESC_SIZE ( 4 * sizeof(__le32) ) 2013#define TXWI_DESC_SIZE (4 * sizeof(__le32))
2014#define RXWI_DESC_SIZE ( 4 * sizeof(__le32) ) 2014#define RXWI_DESC_SIZE (4 * sizeof(__le32))
2015 2015
2016/* 2016/*
2017 * TX WI structure 2017 * TX WI structure