diff options
| author | Sergei Antonov <[email protected]> | 2023-02-03 22:09:03 +0300 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-02-10 13:41:07 -0500 |
| commit | 9628c3e8b12d6e64dd649b14770c25b5e8be3b70 (patch) | |
| tree | fbe75cfada9dbe216e74a435a3ce80ace7b07adc /scripts/const_structs.checkpatch | |
| parent | e9a1d8bfc95dd971426fdb6ee951040c9f2bbcea (diff) | |
net: ftmac100: simplify priv->iobase casting
Replace 'phys_addr_t iobase' with 'struct ftmac100 *ftmac100' in
struct ftmac100_data. It allows to remove casting in a number of places.
Since priv->iobase is phys_addr_t, use phys_to_virt() to make
a pointer from it.
Signed-off-by: Sergei Antonov <[email protected]>
Reviewed-by: Rick Chen <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
