Skip to content

Commit

Permalink
rt2x00: add driver private field to struct rt2x00_dev
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bartlomiej Zolnierkiewicz authored and John W. Linville committed Nov 6, 2009
1 parent 3a9e5b0 commit ee134fc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/net/wireless/rt2x00/rt2x00.h
Original file line number Diff line number Diff line change
Expand Up @@ -842,6 +842,11 @@ struct rt2x00_dev {
* Firmware image.
*/
const struct firmware *fw;

/*
* Driver specific data.
*/
void *priv;
};

/*
Expand Down

0 comments on commit ee134fc

Please sign in to comment.