diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-11-04 18:33:34 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-06 16:48:49 -0500 |
commit | ab209b9834d43ac7c01e803681c5c50c941e4de3 (patch) | |
tree | 47692bb319645aac00009f0fb5c23ec68be56ac8 /drivers/net/wireless/rt2x00/rt2800usb.h | |
parent | 4f2732ce8d02836b94299f64bc29b030545d654a (diff) | |
download | kernel_samsung_smdk4412-ab209b9834d43ac7c01e803681c5c50c941e4de3.zip kernel_samsung_smdk4412-ab209b9834d43ac7c01e803681c5c50c941e4de3.tar.gz kernel_samsung_smdk4412-ab209b9834d43ac7c01e803681c5c50c941e4de3.tar.bz2 |
rt2800usb: add rt2800_regbusy_read() wrapper
Part of preparations for later code unification.
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/rt2800usb.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800usb.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800usb.h b/drivers/net/wireless/rt2x00/rt2800usb.h index 95a4f96..180dfce 100644 --- a/drivers/net/wireless/rt2x00/rt2800usb.h +++ b/drivers/net/wireless/rt2x00/rt2800usb.h @@ -62,6 +62,14 @@ static inline void rt2800_register_multiwrite(struct rt2x00_dev *rt2x00dev, rt2x00usb_register_multiwrite(rt2x00dev, offset, value, length); } +static inline int rt2800_regbusy_read(struct rt2x00_dev *rt2x00dev, + const unsigned int offset, + struct rt2x00_field32 field, + u32 *reg) +{ + return rt2x00usb_regbusy_read(rt2x00dev, offset, field, reg); +} + /* * RF chip defines. * |