aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-11-04 12:35:18 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-11-06 16:48:54 -0500
commitf255b92b570325dfbd4c4a791a0eda7999e67fe7 (patch)
tree9544beace7ba641428cbf0149faa124a8f988d87 /drivers/net/wireless
parent5b10b09898bf00350a68af4cdaf96c393b252591 (diff)
rt2x00: fix rt2x00usb_regbusy_read() arguments
Add const to 'field' argument of rt2x00usb_regbusy_read() (all arguments match rt2x00pci_regbusy_read() ones now). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Acked-by: Ivo van Doorn <IvDoorn@gmail.com> Acked-by: Gertjan van Wingerde <gwingerde@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/rt2x00/rt2800usb.h2
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00usb.c2
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00usb.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800usb.h b/drivers/net/wireless/rt2x00/rt2800usb.h
index 8c88690c1537..0a525a722a74 100644
--- a/drivers/net/wireless/rt2x00/rt2800usb.h
+++ b/drivers/net/wireless/rt2x00/rt2800usb.h
@@ -44,7 +44,7 @@ struct rt2800_ops {
44 44
45 int (*regbusy_read)(struct rt2x00_dev *rt2x00dev, 45 int (*regbusy_read)(struct rt2x00_dev *rt2x00dev,
46 const unsigned int offset, 46 const unsigned int offset,
47 struct rt2x00_field32 field, u32 *reg); 47 const struct rt2x00_field32 field, u32 *reg);
48}; 48};
49 49
50static inline void rt2800_register_read(struct rt2x00_dev *rt2x00dev, 50static inline void rt2800_register_read(struct rt2x00_dev *rt2x00dev,
diff --git a/drivers/net/wireless/rt2x00/rt2x00usb.c b/drivers/net/wireless/rt2x00/rt2x00usb.c
index 501544882c2c..b34d4b6badd0 100644
--- a/drivers/net/wireless/rt2x00/rt2x00usb.c
+++ b/drivers/net/wireless/rt2x00/rt2x00usb.c
@@ -156,7 +156,7 @@ EXPORT_SYMBOL_GPL(rt2x00usb_vendor_request_large_buff);
156 156
157int rt2x00usb_regbusy_read(struct rt2x00_dev *rt2x00dev, 157int rt2x00usb_regbusy_read(struct rt2x00_dev *rt2x00dev,
158 const unsigned int offset, 158 const unsigned int offset,
159 struct rt2x00_field32 field, 159 const struct rt2x00_field32 field,
160 u32 *reg) 160 u32 *reg)
161{ 161{
162 unsigned int i; 162 unsigned int i;
diff --git a/drivers/net/wireless/rt2x00/rt2x00usb.h b/drivers/net/wireless/rt2x00/rt2x00usb.h
index f6fb58f2ca72..212dec47119e 100644
--- a/drivers/net/wireless/rt2x00/rt2x00usb.h
+++ b/drivers/net/wireless/rt2x00/rt2x00usb.h
@@ -365,7 +365,7 @@ static inline void rt2x00usb_register_multiwrite(struct rt2x00_dev *rt2x00dev,
365 */ 365 */
366int rt2x00usb_regbusy_read(struct rt2x00_dev *rt2x00dev, 366int rt2x00usb_regbusy_read(struct rt2x00_dev *rt2x00dev,
367 const unsigned int offset, 367 const unsigned int offset,
368 struct rt2x00_field32 field, 368 const struct rt2x00_field32 field,
369 u32 *reg); 369 u32 *reg);
370 370
371/* 371/*