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/rt2x00debug.h | |
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/rt2x00debug.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00debug.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00debug.h b/drivers/net/wireless/rt2x00/rt2x00debug.h index 860e8fa3a0da..d37efbd09c41 100644 --- a/drivers/net/wireless/rt2x00/rt2x00debug.h +++ b/drivers/net/wireless/rt2x00/rt2x00debug.h | |||
@@ -30,9 +30,9 @@ struct rt2x00_dev; | |||
30 | 30 | ||
31 | #define RT2X00DEBUGFS_REGISTER_ENTRY(__name, __type) \ | 31 | #define RT2X00DEBUGFS_REGISTER_ENTRY(__name, __type) \ |
32 | struct reg##__name { \ | 32 | struct reg##__name { \ |
33 | void (*read)(const struct rt2x00_dev *rt2x00dev, \ | 33 | void (*read)(struct rt2x00_dev *rt2x00dev, \ |
34 | const unsigned int word, __type *data); \ | 34 | const unsigned int word, __type *data); \ |
35 | void (*write)(const struct rt2x00_dev *rt2x00dev, \ | 35 | void (*write)(struct rt2x00_dev *rt2x00dev, \ |
36 | const unsigned int word, __type data); \ | 36 | const unsigned int word, __type data); \ |
37 | \ | 37 | \ |
38 | unsigned int word_size; \ | 38 | unsigned int word_size; \ |