diff options
author | Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com> | 2024-01-08 15:20:59 +0900 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2024-01-22 11:37:27 +0100 |
commit | 9e054ed05ddae2c1b4b2bcb5dfcae49c5ac7637e (patch) | |
tree | 51634e399b11623055c83eae63b3e7ac3aee037b /drivers/android | |
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 <andriy.shevchenko@linux.intel.com>
Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Link: https://lore.kernel.org/r/20240108062059.3583028-3-shinichiro.kawasaki@wdc.com
Tested-by Klara Modin <klarasmodin@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/android')
0 files changed, 0 insertions, 0 deletions