diff options
author | Gertjan van Wingerde <gwingerde@gmail.com> | 2009-11-23 16:44:51 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-28 15:04:37 -0500 |
commit | 04d0362e2fa9d5f1ab560d0d59d04a535b4f3973 (patch) | |
tree | 976daa5bf750135f2161b7ce87613bddb5d0e65c | |
parent | 95d69aa046f75c750f18119810b6f58d397fb576 (diff) |
rt2x00: Whitespace cleanup.
Clean up the use of whitespace in the initialization of the rt2x00_ops
structures. This is preparatory for a later patch that adds members
to that structure, which require different whitespace alignment.
Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2400pci.c | 26 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2500pci.c | 26 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2500usb.c | 26 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800pci.c | 24 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800usb.c | 24 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt61pci.c | 24 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt73usb.c | 24 |
7 files changed, 87 insertions, 87 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2400pci.c b/drivers/net/wireless/rt2x00/rt2400pci.c index 6e68bc7efd4e..7f900be39e5a 100644 --- a/drivers/net/wireless/rt2x00/rt2400pci.c +++ b/drivers/net/wireless/rt2x00/rt2400pci.c | |||
@@ -1623,20 +1623,20 @@ static const struct data_queue_desc rt2400pci_queue_atim = { | |||
1623 | }; | 1623 | }; |
1624 | 1624 | ||
1625 | static const struct rt2x00_ops rt2400pci_ops = { | 1625 | static const struct rt2x00_ops rt2400pci_ops = { |
1626 | .name = KBUILD_MODNAME, | 1626 | .name = KBUILD_MODNAME, |
1627 | .max_sta_intf = 1, | 1627 | .max_sta_intf = 1, |
1628 | .max_ap_intf = 1, | 1628 | .max_ap_intf = 1, |
1629 | .eeprom_size = EEPROM_SIZE, | 1629 | .eeprom_size = EEPROM_SIZE, |
1630 | .rf_size = RF_SIZE, | 1630 | .rf_size = RF_SIZE, |
1631 | .tx_queues = NUM_TX_QUEUES, | 1631 | .tx_queues = NUM_TX_QUEUES, |
1632 | .rx = &rt2400pci_queue_rx, | 1632 | .rx = &rt2400pci_queue_rx, |
1633 | .tx = &rt2400pci_queue_tx, | 1633 | .tx = &rt2400pci_queue_tx, |
1634 | .bcn = &rt2400pci_queue_bcn, | 1634 | .bcn = &rt2400pci_queue_bcn, |
1635 | .atim = &rt2400pci_queue_atim, | 1635 | .atim = &rt2400pci_queue_atim, |
1636 | .lib = &rt2400pci_rt2x00_ops, | 1636 | .lib = &rt2400pci_rt2x00_ops, |
1637 | .hw = &rt2400pci_mac80211_ops, | 1637 | .hw = &rt2400pci_mac80211_ops, |
1638 | #ifdef CONFIG_RT2X00_LIB_DEBUGFS | 1638 | #ifdef CONFIG_RT2X00_LIB_DEBUGFS |
1639 | .debugfs = &rt2400pci_rt2x00debug, | 1639 | .debugfs = &rt2400pci_rt2x00debug, |
1640 | #endif /* CONFIG_RT2X00_LIB_DEBUGFS */ | 1640 | #endif /* CONFIG_RT2X00_LIB_DEBUGFS */ |
1641 | }; | 1641 | }; |
1642 | 1642 | ||
diff --git a/drivers/net/wireless/rt2x00/rt2500pci.c b/drivers/net/wireless/rt2x00/rt2500pci.c index 9a31e5e7b8df..30960fd8a449 100644 --- a/drivers/net/wireless/rt2x00/rt2500pci.c +++ b/drivers/net/wireless/rt2x00/rt2500pci.c | |||
@@ -1922,20 +1922,20 @@ static const struct data_queue_desc rt2500pci_queue_atim = { | |||
1922 | }; | 1922 | }; |
1923 | 1923 | ||
1924 | static const struct rt2x00_ops rt2500pci_ops = { | 1924 | static const struct rt2x00_ops rt2500pci_ops = { |
1925 | .name = KBUILD_MODNAME, | 1925 | .name = KBUILD_MODNAME, |
1926 | .max_sta_intf = 1, | 1926 | .max_sta_intf = 1, |
1927 | .max_ap_intf = 1, | 1927 | .max_ap_intf = 1, |
1928 | .eeprom_size = EEPROM_SIZE, | 1928 | .eeprom_size = EEPROM_SIZE, |
1929 | .rf_size = RF_SIZE, | 1929 | .rf_size = RF_SIZE, |
1930 | .tx_queues = NUM_TX_QUEUES, | 1930 | .tx_queues = NUM_TX_QUEUES, |
1931 | .rx = &rt2500pci_queue_rx, | 1931 | .rx = &rt2500pci_queue_rx, |
1932 | .tx = &rt2500pci_queue_tx, | 1932 | .tx = &rt2500pci_queue_tx, |
1933 | .bcn = &rt2500pci_queue_bcn, | 1933 | .bcn = &rt2500pci_queue_bcn, |
1934 | .atim = &rt2500pci_queue_atim, | 1934 | .atim = &rt2500pci_queue_atim, |
1935 | .lib = &rt2500pci_rt2x00_ops, | 1935 | .lib = &rt2500pci_rt2x00_ops, |
1936 | .hw = &rt2500pci_mac80211_ops, | 1936 | .hw = &rt2500pci_mac80211_ops, |
1937 | #ifdef CONFIG_RT2X00_LIB_DEBUGFS | 1937 | #ifdef CONFIG_RT2X00_LIB_DEBUGFS |
1938 | .debugfs = &rt2500pci_rt2x00debug, | 1938 | .debugfs = &rt2500pci_rt2x00debug, |
1939 | #endif /* CONFIG_RT2X00_LIB_DEBUGFS */ | 1939 | #endif /* CONFIG_RT2X00_LIB_DEBUGFS */ |
1940 | }; | 1940 | }; |
1941 | 1941 | ||
diff --git a/drivers/net/wireless/rt2x00/rt2500usb.c b/drivers/net/wireless/rt2x00/rt2500usb.c index b2de43e4f656..02290f68113e 100644 --- a/drivers/net/wireless/rt2x00/rt2500usb.c +++ b/drivers/net/wireless/rt2x00/rt2500usb.c | |||
@@ -1823,20 +1823,20 @@ static const struct data_queue_desc rt2500usb_queue_atim = { | |||
1823 | }; | 1823 | }; |
1824 | 1824 | ||
1825 | static const struct rt2x00_ops rt2500usb_ops = { | 1825 | static const struct rt2x00_ops rt2500usb_ops = { |
1826 | .name = KBUILD_MODNAME, | 1826 | .name = KBUILD_MODNAME, |
1827 | .max_sta_intf = 1, | 1827 | .max_sta_intf = 1, |
1828 | .max_ap_intf = 1, | 1828 | .max_ap_intf = 1, |
1829 | .eeprom_size = EEPROM_SIZE, | 1829 | .eeprom_size = EEPROM_SIZE, |
1830 | .rf_size = RF_SIZE, | 1830 | .rf_size = RF_SIZE, |
1831 | .tx_queues = NUM_TX_QUEUES, | 1831 | .tx_queues = NUM_TX_QUEUES, |
1832 | .rx = &rt2500usb_queue_rx, | 1832 | .rx = &rt2500usb_queue_rx, |
1833 | .tx = &rt2500usb_queue_tx, | 1833 | .tx = &rt2500usb_queue_tx, |
1834 | .bcn = &rt2500usb_queue_bcn, | 1834 | .bcn = &rt2500usb_queue_bcn, |
1835 | .atim = &rt2500usb_queue_atim, | 1835 | .atim = &rt2500usb_queue_atim, |
1836 | .lib = &rt2500usb_rt2x00_ops, | 1836 | .lib = &rt2500usb_rt2x00_ops, |
1837 | .hw = &rt2500usb_mac80211_ops, | 1837 | .hw = &rt2500usb_mac80211_ops, |
1838 | #ifdef CONFIG_RT2X00_LIB_DEBUGFS | 1838 | #ifdef CONFIG_RT2X00_LIB_DEBUGFS |
1839 | .debugfs = &rt2500usb_rt2x00debug, | 1839 | .debugfs = &rt2500usb_rt2x00debug, |
1840 | #endif /* CONFIG_RT2X00_LIB_DEBUGFS */ | 1840 | #endif /* CONFIG_RT2X00_LIB_DEBUGFS */ |
1841 | }; | 1841 | }; |
1842 | 1842 | ||
diff --git a/drivers/net/wireless/rt2x00/rt2800pci.c b/drivers/net/wireless/rt2x00/rt2800pci.c index 87a5094ae953..029a45f0cb99 100644 --- a/drivers/net/wireless/rt2x00/rt2800pci.c +++ b/drivers/net/wireless/rt2x00/rt2800pci.c | |||
@@ -1201,19 +1201,19 @@ static const struct data_queue_desc rt2800pci_queue_bcn = { | |||
1201 | }; | 1201 | }; |
1202 | 1202 | ||
1203 | static const struct rt2x00_ops rt2800pci_ops = { | 1203 | static const struct rt2x00_ops rt2800pci_ops = { |
1204 | .name = KBUILD_MODNAME, | 1204 | .name = KBUILD_MODNAME, |
1205 | .max_sta_intf = 1, | 1205 | .max_sta_intf = 1, |
1206 | .max_ap_intf = 8, | 1206 | .max_ap_intf = 8, |
1207 | .eeprom_size = EEPROM_SIZE, | 1207 | .eeprom_size = EEPROM_SIZE, |
1208 | .rf_size = RF_SIZE, | 1208 | .rf_size = RF_SIZE, |
1209 | .tx_queues = NUM_TX_QUEUES, | 1209 | .tx_queues = NUM_TX_QUEUES, |
1210 | .rx = &rt2800pci_queue_rx, | 1210 | .rx = &rt2800pci_queue_rx, |
1211 | .tx = &rt2800pci_queue_tx, | 1211 | .tx = &rt2800pci_queue_tx, |
1212 | .bcn = &rt2800pci_queue_bcn, | 1212 | .bcn = &rt2800pci_queue_bcn, |
1213 | .lib = &rt2800pci_rt2x00_ops, | 1213 | .lib = &rt2800pci_rt2x00_ops, |
1214 | .hw = &rt2800_mac80211_ops, | 1214 | .hw = &rt2800_mac80211_ops, |
1215 | #ifdef CONFIG_RT2X00_LIB_DEBUGFS | 1215 | #ifdef CONFIG_RT2X00_LIB_DEBUGFS |
1216 | .debugfs = &rt2800_rt2x00debug, | 1216 | .debugfs = &rt2800_rt2x00debug, |
1217 | #endif /* CONFIG_RT2X00_LIB_DEBUGFS */ | 1217 | #endif /* CONFIG_RT2X00_LIB_DEBUGFS */ |
1218 | }; | 1218 | }; |
1219 | 1219 | ||
diff --git a/drivers/net/wireless/rt2x00/rt2800usb.c b/drivers/net/wireless/rt2x00/rt2800usb.c index 9ab15c480701..208316af6d99 100644 --- a/drivers/net/wireless/rt2x00/rt2800usb.c +++ b/drivers/net/wireless/rt2x00/rt2800usb.c | |||
@@ -790,19 +790,19 @@ static const struct data_queue_desc rt2800usb_queue_bcn = { | |||
790 | }; | 790 | }; |
791 | 791 | ||
792 | static const struct rt2x00_ops rt2800usb_ops = { | 792 | static const struct rt2x00_ops rt2800usb_ops = { |
793 | .name = KBUILD_MODNAME, | 793 | .name = KBUILD_MODNAME, |
794 | .max_sta_intf = 1, | 794 | .max_sta_intf = 1, |
795 | .max_ap_intf = 8, | 795 | .max_ap_intf = 8, |
796 | .eeprom_size = EEPROM_SIZE, | 796 | .eeprom_size = EEPROM_SIZE, |
797 | .rf_size = RF_SIZE, | 797 | .rf_size = RF_SIZE, |
798 | .tx_queues = NUM_TX_QUEUES, | 798 | .tx_queues = NUM_TX_QUEUES, |
799 | .rx = &rt2800usb_queue_rx, | 799 | .rx = &rt2800usb_queue_rx, |
800 | .tx = &rt2800usb_queue_tx, | 800 | .tx = &rt2800usb_queue_tx, |
801 | .bcn = &rt2800usb_queue_bcn, | 801 | .bcn = &rt2800usb_queue_bcn, |
802 | .lib = &rt2800usb_rt2x00_ops, | 802 | .lib = &rt2800usb_rt2x00_ops, |
803 | .hw = &rt2800_mac80211_ops, | 803 | .hw = &rt2800_mac80211_ops, |
804 | #ifdef CONFIG_RT2X00_LIB_DEBUGFS | 804 | #ifdef CONFIG_RT2X00_LIB_DEBUGFS |
805 | .debugfs = &rt2800_rt2x00debug, | 805 | .debugfs = &rt2800_rt2x00debug, |
806 | #endif /* CONFIG_RT2X00_LIB_DEBUGFS */ | 806 | #endif /* CONFIG_RT2X00_LIB_DEBUGFS */ |
807 | }; | 807 | }; |
808 | 808 | ||
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c index bf04605896c7..4cb9afeed9d7 100644 --- a/drivers/net/wireless/rt2x00/rt61pci.c +++ b/drivers/net/wireless/rt2x00/rt61pci.c | |||
@@ -2788,19 +2788,19 @@ static const struct data_queue_desc rt61pci_queue_bcn = { | |||
2788 | }; | 2788 | }; |
2789 | 2789 | ||
2790 | static const struct rt2x00_ops rt61pci_ops = { | 2790 | static const struct rt2x00_ops rt61pci_ops = { |
2791 | .name = KBUILD_MODNAME, | 2791 | .name = KBUILD_MODNAME, |
2792 | .max_sta_intf = 1, | 2792 | .max_sta_intf = 1, |
2793 | .max_ap_intf = 4, | 2793 | .max_ap_intf = 4, |
2794 | .eeprom_size = EEPROM_SIZE, | 2794 | .eeprom_size = EEPROM_SIZE, |
2795 | .rf_size = RF_SIZE, | 2795 | .rf_size = RF_SIZE, |
2796 | .tx_queues = NUM_TX_QUEUES, | 2796 | .tx_queues = NUM_TX_QUEUES, |
2797 | .rx = &rt61pci_queue_rx, | 2797 | .rx = &rt61pci_queue_rx, |
2798 | .tx = &rt61pci_queue_tx, | 2798 | .tx = &rt61pci_queue_tx, |
2799 | .bcn = &rt61pci_queue_bcn, | 2799 | .bcn = &rt61pci_queue_bcn, |
2800 | .lib = &rt61pci_rt2x00_ops, | 2800 | .lib = &rt61pci_rt2x00_ops, |
2801 | .hw = &rt61pci_mac80211_ops, | 2801 | .hw = &rt61pci_mac80211_ops, |
2802 | #ifdef CONFIG_RT2X00_LIB_DEBUGFS | 2802 | #ifdef CONFIG_RT2X00_LIB_DEBUGFS |
2803 | .debugfs = &rt61pci_rt2x00debug, | 2803 | .debugfs = &rt61pci_rt2x00debug, |
2804 | #endif /* CONFIG_RT2X00_LIB_DEBUGFS */ | 2804 | #endif /* CONFIG_RT2X00_LIB_DEBUGFS */ |
2805 | }; | 2805 | }; |
2806 | 2806 | ||
diff --git a/drivers/net/wireless/rt2x00/rt73usb.c b/drivers/net/wireless/rt2x00/rt73usb.c index 5bbcf6626f7d..d13a051b39af 100644 --- a/drivers/net/wireless/rt2x00/rt73usb.c +++ b/drivers/net/wireless/rt2x00/rt73usb.c | |||
@@ -2306,19 +2306,19 @@ static const struct data_queue_desc rt73usb_queue_bcn = { | |||
2306 | }; | 2306 | }; |
2307 | 2307 | ||
2308 | static const struct rt2x00_ops rt73usb_ops = { | 2308 | static const struct rt2x00_ops rt73usb_ops = { |
2309 | .name = KBUILD_MODNAME, | 2309 | .name = KBUILD_MODNAME, |
2310 | .max_sta_intf = 1, | 2310 | .max_sta_intf = 1, |
2311 | .max_ap_intf = 4, | 2311 | .max_ap_intf = 4, |
2312 | .eeprom_size = EEPROM_SIZE, | 2312 | .eeprom_size = EEPROM_SIZE, |
2313 | .rf_size = RF_SIZE, | 2313 | .rf_size = RF_SIZE, |
2314 | .tx_queues = NUM_TX_QUEUES, | 2314 | .tx_queues = NUM_TX_QUEUES, |
2315 | .rx = &rt73usb_queue_rx, | 2315 | .rx = &rt73usb_queue_rx, |
2316 | .tx = &rt73usb_queue_tx, | 2316 | .tx = &rt73usb_queue_tx, |
2317 | .bcn = &rt73usb_queue_bcn, | 2317 | .bcn = &rt73usb_queue_bcn, |
2318 | .lib = &rt73usb_rt2x00_ops, | 2318 | .lib = &rt73usb_rt2x00_ops, |
2319 | .hw = &rt73usb_mac80211_ops, | 2319 | .hw = &rt73usb_mac80211_ops, |
2320 | #ifdef CONFIG_RT2X00_LIB_DEBUGFS | 2320 | #ifdef CONFIG_RT2X00_LIB_DEBUGFS |
2321 | .debugfs = &rt73usb_rt2x00debug, | 2321 | .debugfs = &rt73usb_rt2x00debug, |
2322 | #endif /* CONFIG_RT2X00_LIB_DEBUGFS */ | 2322 | #endif /* CONFIG_RT2X00_LIB_DEBUGFS */ |
2323 | }; | 2323 | }; |
2324 | 2324 | ||