diff options
| author | NeilBrown <[email protected]> | 2018-06-07 08:04:20 +1000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-06-17 09:05:11 +0200 |
| commit | c0f784ba92e051d0de33ca7e1fd192317cfdb738 (patch) | |
| tree | 5e61b0b032ba738654be853d785314825f5053fc /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 456aec73799f6cd31d5162d0814f8c372acffed6 (diff) | |
staging: mt7621-pci: use rt_sysc_?32() to access system-control register.
This driver currently has internal knowledge ofthe address
of system-control registers and accesses them by dereferencing
a constant pointer.
It is cleaner to use rt_sysc_r32(), rt_sysc_w32(), rt_sysc_m32()
which is a more standard interface.
So change the defined names to offsets instead of pointers,
and use these functions.
Signed-off-by: NeilBrown <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions