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>
This commit is contained in:
Bartlomiej Zolnierkiewicz 2009-11-04 18:34:46 +01:00 committed by John W. Linville
parent 3a9e5b0fff
commit ee134fcc55
1 changed files with 5 additions and 0 deletions

View File

@ -842,6 +842,11 @@ struct rt2x00_dev {
* Firmware image. * Firmware image.
*/ */
const struct firmware *fw; const struct firmware *fw;
/*
* Driver specific data.
*/
void *priv;
}; };
/* /*