mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-09 20:31:13 -05:00
rt2800pci: add rt2800_register_[read,write]() wrappers
Part of preparations for later code unification. Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]> Acked-by: Ivo van Doorn <[email protected]> Acked-by: Gertjan van Wingerde <[email protected]> Signed-off-by: John W. Linville <[email protected]>
This commit is contained in:
parent
abbb505ddd
commit
9ca21eb7cd
2 changed files with 261 additions and 239 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -27,6 +27,27 @@
|
|||
#ifndef RT2800PCI_H
|
||||
#define RT2800PCI_H
|
||||
|
||||
static inline void rt2800_register_read(struct rt2x00_dev *rt2x00dev,
|
||||
const unsigned int offset,
|
||||
u32 *value)
|
||||
{
|
||||
rt2x00pci_register_read(rt2x00dev, offset, value);
|
||||
}
|
||||
|
||||
static inline void rt2800_register_write(struct rt2x00_dev *rt2x00dev,
|
||||
const unsigned int offset,
|
||||
u32 value)
|
||||
{
|
||||
rt2x00pci_register_write(rt2x00dev, offset, value);
|
||||
}
|
||||
|
||||
static inline void rt2800_register_write_lock(struct rt2x00_dev *rt2x00dev,
|
||||
const unsigned int offset,
|
||||
u32 value)
|
||||
{
|
||||
rt2x00pci_register_write(rt2x00dev, offset, value);
|
||||
}
|
||||
|
||||
/*
|
||||
* RF chip defines.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue