commit | 2427d174a476199111a20e74f76fda21296134f7 | [log] [tgz] |
---|---|---|
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | Mon Jul 09 22:21:04 2018 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jul 10 12:44:55 2018 +0200 |
tree | a5e875a9772c1ccb3a584c5d01c1ebd67d1d3923 | |
parent | fc4afdfea0428f8a564b62a6d668da95935b6cbf [diff] |
staging: mt7621-pci: factor out mt7621_pci_get_cfgaddr function To get config address the same pattern is repeated in some functions along the code. Factor out a new mt7621_pci_get_cfgaddr for calculate it and use it in convenient places. Adjust types to match to u32 where is neccesary. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>