rt2800pci: add rt2800_register_multi[read,write]() wrappers
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>
This commit is contained in:

committed by
John W. Linville

parent
678b4eee76
commit
4f2732ce8d
@@ -48,6 +48,21 @@ static inline void rt2800_register_write_lock(struct rt2x00_dev *rt2x00dev,
|
||||
rt2x00pci_register_write(rt2x00dev, offset, value);
|
||||
}
|
||||
|
||||
static inline void rt2800_register_multiread(struct rt2x00_dev *rt2x00dev,
|
||||
const unsigned int offset,
|
||||
void *value, const u16 length)
|
||||
{
|
||||
rt2x00pci_register_multiread(rt2x00dev, offset, value, length);
|
||||
}
|
||||
|
||||
static inline void rt2800_register_multiwrite(struct rt2x00_dev *rt2x00dev,
|
||||
const unsigned int offset,
|
||||
const void *value,
|
||||
const u16 length)
|
||||
{
|
||||
rt2x00pci_register_multiwrite(rt2x00dev, offset, value, length);
|
||||
}
|
||||
|
||||
/*
|
||||
* RF chip defines.
|
||||
*
|
||||
|
Reference in New Issue
Block a user