diff options
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00.h | 6 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00pci.h | 6 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00usb.h | 6 |
3 files changed, 10 insertions, 8 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h index d85553f6351e..92656d09cff9 100644 --- a/drivers/net/wireless/rt2x00/rt2x00.h +++ b/drivers/net/wireless/rt2x00/rt2x00.h | |||
@@ -404,7 +404,7 @@ static inline struct rt2x00_intf* vif_to_intf(struct ieee80211_vif *vif) | |||
404 | * @supported_rates: Rate types which are supported (CCK, OFDM). | 404 | * @supported_rates: Rate types which are supported (CCK, OFDM). |
405 | * @num_channels: Number of supported channels. This is used as array size | 405 | * @num_channels: Number of supported channels. This is used as array size |
406 | * for @tx_power_a, @tx_power_bg and @channels. | 406 | * for @tx_power_a, @tx_power_bg and @channels. |
407 | * channels: Device/chipset specific channel values (See &struct rf_channel). | 407 | * @channels: Device/chipset specific channel values (See &struct rf_channel). |
408 | * @tx_power_a: TX power values for all 5.2GHz channels (may be NULL). | 408 | * @tx_power_a: TX power values for all 5.2GHz channels (may be NULL). |
409 | * @tx_power_bg: TX power values for all 2.4GHz channels (may be NULL). | 409 | * @tx_power_bg: TX power values for all 2.4GHz channels (may be NULL). |
410 | * @tx_power_default: Default TX power value to use when either | 410 | * @tx_power_default: Default TX power value to use when either |
@@ -936,7 +936,7 @@ struct data_queue *rt2x00queue_get_queue(struct rt2x00_dev *rt2x00dev, | |||
936 | 936 | ||
937 | /** | 937 | /** |
938 | * rt2x00queue_get_entry - Get queue entry where the given index points to. | 938 | * rt2x00queue_get_entry - Get queue entry where the given index points to. |
939 | * @rt2x00dev: Pointer to &struct rt2x00_dev. | 939 | * @queue: Pointer to &struct data_queue from where we obtain the entry. |
940 | * @index: Index identifier for obtaining the correct index. | 940 | * @index: Index identifier for obtaining the correct index. |
941 | */ | 941 | */ |
942 | struct queue_entry *rt2x00queue_get_entry(struct data_queue *queue, | 942 | struct queue_entry *rt2x00queue_get_entry(struct data_queue *queue, |
@@ -945,7 +945,7 @@ struct queue_entry *rt2x00queue_get_entry(struct data_queue *queue, | |||
945 | /** | 945 | /** |
946 | * rt2x00queue_index_inc - Index incrementation function | 946 | * rt2x00queue_index_inc - Index incrementation function |
947 | * @queue: Queue (&struct data_queue) to perform the action on. | 947 | * @queue: Queue (&struct data_queue) to perform the action on. |
948 | * @action: Index type (&enum queue_index) to perform the action on. | 948 | * @index: Index type (&enum queue_index) to perform the action on. |
949 | * | 949 | * |
950 | * This function will increase the requested index on the queue, | 950 | * This function will increase the requested index on the queue, |
951 | * it will grab the appropriate locks and handle queue overflow events by | 951 | * it will grab the appropriate locks and handle queue overflow events by |
diff --git a/drivers/net/wireless/rt2x00/rt2x00pci.h b/drivers/net/wireless/rt2x00/rt2x00pci.h index 9d1cdb99431c..2b0ef17bba6e 100644 --- a/drivers/net/wireless/rt2x00/rt2x00pci.h +++ b/drivers/net/wireless/rt2x00/rt2x00pci.h | |||
@@ -98,8 +98,9 @@ int rt2x00pci_write_tx_data(struct rt2x00_dev *rt2x00dev, | |||
98 | * struct queue_entry_priv_pci_rx: Per RX entry PCI specific information | 98 | * struct queue_entry_priv_pci_rx: Per RX entry PCI specific information |
99 | * | 99 | * |
100 | * @desc: Pointer to device descriptor. | 100 | * @desc: Pointer to device descriptor. |
101 | * @desc_dma: DMA pointer to @desc. | ||
101 | * @data: Pointer to device's entry memory. | 102 | * @data: Pointer to device's entry memory. |
102 | * @dma: DMA pointer to &data. | 103 | * @data_dma: DMA pointer to &data. |
103 | */ | 104 | */ |
104 | struct queue_entry_priv_pci_rx { | 105 | struct queue_entry_priv_pci_rx { |
105 | __le32 *desc; | 106 | __le32 *desc; |
@@ -113,8 +114,9 @@ struct queue_entry_priv_pci_rx { | |||
113 | * struct queue_entry_priv_pci_tx: Per TX entry PCI specific information | 114 | * struct queue_entry_priv_pci_tx: Per TX entry PCI specific information |
114 | * | 115 | * |
115 | * @desc: Pointer to device descriptor | 116 | * @desc: Pointer to device descriptor |
117 | * @desc_dma: DMA pointer to @desc. | ||
116 | * @data: Pointer to device's entry memory. | 118 | * @data: Pointer to device's entry memory. |
117 | * @dma: DMA pointer to &data. | 119 | * @data_dma: DMA pointer to &data. |
118 | * @control: mac80211 control structure used to transmit data. | 120 | * @control: mac80211 control structure used to transmit data. |
119 | */ | 121 | */ |
120 | struct queue_entry_priv_pci_tx { | 122 | struct queue_entry_priv_pci_tx { |
diff --git a/drivers/net/wireless/rt2x00/rt2x00usb.h b/drivers/net/wireless/rt2x00/rt2x00usb.h index 1efaaae04632..4da9eb376ebd 100644 --- a/drivers/net/wireless/rt2x00/rt2x00usb.h +++ b/drivers/net/wireless/rt2x00/rt2x00usb.h | |||
@@ -199,12 +199,12 @@ static inline int rt2x00usb_vendor_request_sw(struct rt2x00_dev *rt2x00dev, | |||
199 | * kmalloc for correct handling inside the kernel USB layer. | 199 | * kmalloc for correct handling inside the kernel USB layer. |
200 | */ | 200 | */ |
201 | static inline int rt2x00usb_eeprom_read(struct rt2x00_dev *rt2x00dev, | 201 | static inline int rt2x00usb_eeprom_read(struct rt2x00_dev *rt2x00dev, |
202 | __le16 *eeprom, const u16 lenght) | 202 | __le16 *eeprom, const u16 length) |
203 | { | 203 | { |
204 | return rt2x00usb_vendor_request(rt2x00dev, USB_EEPROM_READ, | 204 | return rt2x00usb_vendor_request(rt2x00dev, USB_EEPROM_READ, |
205 | USB_VENDOR_REQUEST_IN, 0, 0, | 205 | USB_VENDOR_REQUEST_IN, 0, 0, |
206 | eeprom, lenght, | 206 | eeprom, length, |
207 | REGISTER_TIMEOUT16(lenght)); | 207 | REGISTER_TIMEOUT16(length)); |
208 | } | 208 | } |
209 | 209 | ||
210 | /* | 210 | /* |