commit | 60f4142aa2e4156c6e4661184e6e9d9f1f8fb561 | [log] [tgz] |
---|---|---|
author | Andrew Scull <ascull@google.com> | Thu Apr 21 16:11:06 2022 +0000 |
committer | Tom Rini <trini@konsulko.com> | Tue May 03 15:50:45 2022 -0400 |
tree | 1e09b310a02eabea423e829f2b0286d576b00be1 | |
parent | e7870c2cdccef3a3a8659995407280900323b9f5 [diff] |
pci: Fix use of flags in dm_pci_map_bar() The flags parameter of dm_pci_map_bar() is used for PCI region flags rather than memory mapping flags. Fix the type to match that of the region flags and stop using the regions flags as memory mapping flags. Signed-off-by: Andrew Scull <ascull@google.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>