diff options
author | Adam Baker <linux@baker-net.org.uk> | 2007-10-27 07:41:25 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:02:59 -0500 |
commit | 0e14f6d3e088473b411d35ff63737e46efb9e6df (patch) | |
tree | e92eee3981e77b26aaf1662a607dea7d5738095f /drivers/net/wireless/rt2x00/rt2x00usb.c | |
parent | d9890b8f45158970f3418d0c9c0b3bfde13d3a4f (diff) |
rt2x00: Unconstify rt2x00dev
Some register accesses need rt2x00dev to be non-const
they all need modifying so the prototype is consistent.
Signed-off-by: Adam Baker <linux@baker-net.org.uk>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00usb.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00usb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00usb.c b/drivers/net/wireless/rt2x00/rt2x00usb.c index 568d73847dca..d16f0a79d985 100644 --- a/drivers/net/wireless/rt2x00/rt2x00usb.c +++ b/drivers/net/wireless/rt2x00/rt2x00usb.c | |||
@@ -38,7 +38,7 @@ | |||
38 | /* | 38 | /* |
39 | * Interfacing with the HW. | 39 | * Interfacing with the HW. |
40 | */ | 40 | */ |
41 | int rt2x00usb_vendor_request(const struct rt2x00_dev *rt2x00dev, | 41 | int rt2x00usb_vendor_request(struct rt2x00_dev *rt2x00dev, |
42 | const u8 request, const u8 requesttype, | 42 | const u8 request, const u8 requesttype, |
43 | const u16 offset, const u16 value, | 43 | const u16 offset, const u16 value, |
44 | void *buffer, const u16 buffer_length, | 44 | void *buffer, const u16 buffer_length, |
@@ -76,7 +76,7 @@ int rt2x00usb_vendor_request(const struct rt2x00_dev *rt2x00dev, | |||
76 | } | 76 | } |
77 | EXPORT_SYMBOL_GPL(rt2x00usb_vendor_request); | 77 | EXPORT_SYMBOL_GPL(rt2x00usb_vendor_request); |
78 | 78 | ||
79 | int rt2x00usb_vendor_request_buff(const struct rt2x00_dev *rt2x00dev, | 79 | int rt2x00usb_vendor_request_buff(struct rt2x00_dev *rt2x00dev, |
80 | const u8 request, const u8 requesttype, | 80 | const u8 request, const u8 requesttype, |
81 | const u16 offset, void *buffer, | 81 | const u16 offset, void *buffer, |
82 | const u16 buffer_length, const int timeout) | 82 | const u16 buffer_length, const int timeout) |