summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00usb.h
diff options
context:
space:
mode:
authorIvo van Doorn <ivdoorn@gmail.com>2008-04-21 19:02:17 +0200
committerJohn W. Linville <linville@tuxdriver.com>2008-05-07 15:02:21 -0400
commit9a46d44eda55ad87a727fe351b0ab27c23d4555c (patch)
tree8c0cc415afbf17288e65cffa4153d7b5ed77e936 /drivers/net/wireless/rt2x00/rt2x00usb.h
parentbd394a74a0e81efb15feaa8d7d10a0eaa8f4bf07 (diff)
downloadop-kernel-dev-9a46d44eda55ad87a727fe351b0ab27c23d4555c.zip
op-kernel-dev-9a46d44eda55ad87a727fe351b0ab27c23d4555c.tar.gz
rt2x00: Fix kernel-doc
Add missing kernel-doc variables for structures/functions. 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/rt2x00usb.h')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00usb.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00usb.h b/drivers/net/wireless/rt2x00/rt2x00usb.h
index 1efaaae..4da9eb3 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,
* kmalloc for correct handling inside the kernel USB layer.
*/
static inline int rt2x00usb_eeprom_read(struct rt2x00_dev *rt2x00dev,
- __le16 *eeprom, const u16 lenght)
+ __le16 *eeprom, const u16 length)
{
return rt2x00usb_vendor_request(rt2x00dev, USB_EEPROM_READ,
USB_VENDOR_REQUEST_IN, 0, 0,
- eeprom, lenght,
- REGISTER_TIMEOUT16(lenght));
+ eeprom, length,
+ REGISTER_TIMEOUT16(length));
}
/*
OpenPOWER on IntegriCloud