diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-11-04 12:34:46 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-06 16:48:52 -0500 |
commit | ee134fcc552e17e708346a183076db21b8c49188 (patch) | |
tree | d598bd5bb80b84a4b5ae52175b9949c007ba97a0 /drivers/net/wireless/rt2x00 | |
parent | 3a9e5b0fff63bb87dd6e0f9c60626e16d81192af (diff) |
rt2x00: add driver private field to struct rt2x00_dev
Enhance rt2x00 infrastructure by adding driver specific field to
struct rt2x00_dev.
The new field will be used by rt2800 drivers for chipset registers
access abstraction layer.
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/rt2x00')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h index 196de8ab8153..c14b0f505b7f 100644 --- a/drivers/net/wireless/rt2x00/rt2x00.h +++ b/drivers/net/wireless/rt2x00/rt2x00.h | |||
@@ -842,6 +842,11 @@ struct rt2x00_dev { | |||
842 | * Firmware image. | 842 | * Firmware image. |
843 | */ | 843 | */ |
844 | const struct firmware *fw; | 844 | const struct firmware *fw; |
845 | |||
846 | /* | ||
847 | * Driver specific data. | ||
848 | */ | ||
849 | void *priv; | ||
845 | }; | 850 | }; |
846 | 851 | ||
847 | /* | 852 | /* |