summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/rt2x00/rt2x00debug.h
diff options
context:
space:
mode:
authorAnisse Astier <anisse@astier.eu>2012-04-19 17:53:10 +0400
committerJohn W. Linville <linville@tuxdriver.com>2012-05-09 05:53:46 +0400
commitf2bd7f16e5ae50a26028b4244f7b9c8bba0c48d2 (patch)
tree3682f88cf73a5dcd7612e4cd679a61b76ccac161 /drivers/net/wireless/rt2x00/rt2x00debug.h
parentf2efd20facac2de96d33210a982820db960d25d1 (diff)
downloadlinux-f2bd7f16e5ae50a26028b4244f7b9c8bba0c48d2.tar.xz
rt2x00: Add debugfs access for rfcsr register
RFCSR is only used in rt2800. For other chipsets, the debug struct for rfcsr should be zeroed, which isn't be an issue, since the code can now cope with that. Signed-off-by: Anisse Astier <anisse@astier.eu> Acked-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00debug.h')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00debug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00debug.h b/drivers/net/wireless/rt2x00/rt2x00debug.h
index fa11409cb5c6..e11d39bdfef7 100644
--- a/drivers/net/wireless/rt2x00/rt2x00debug.h
+++ b/drivers/net/wireless/rt2x00/rt2x00debug.h
@@ -65,6 +65,7 @@ struct rt2x00debug {
RT2X00DEBUGFS_REGISTER_ENTRY(eeprom, u16);
RT2X00DEBUGFS_REGISTER_ENTRY(bbp, u8);
RT2X00DEBUGFS_REGISTER_ENTRY(rf, u32);
+ RT2X00DEBUGFS_REGISTER_ENTRY(rfcsr, u8);
};
#endif /* RT2X00DEBUG_H */