diff options
author | Shin'ichiro Kawasaki <[email protected]> | 2024-01-08 15:20:59 +0900 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2024-01-22 11:37:27 +0100 |
commit | 9e054ed05ddae2c1b4b2bcb5dfcae49c5ac7637e (patch) | |
tree | 51634e399b11623055c83eae63b3e7ac3aee037b /rust/macros | |
parent | 5913320eb0b3ec88158cfcb0fa5e996bf4ef681b (diff) |
platform/x86: p2sb: Use pci_resource_n() in p2sb_read_bar0()
Accesses to resource[] member of struct pci_dev shall be wrapped with
pci_resource_n() for future compatibility. Call the helper function in
p2sb_read_bar0().
Suggested-by: Andy Shevchenko <[email protected]>
Signed-off-by: Shin'ichiro Kawasaki <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Tested-by Klara Modin <[email protected]>
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'rust/macros')
0 files changed, 0 insertions, 0 deletions