mirror of
https://github.com/torvalds/linux.git
synced 2026-12-03 20:06:35 +00:00
pcim_iomap_regions() should receive the driver's name as its third
parameter, not the PCI device's name.
Define the driver name with a macro and use it at the appropriate
places, including pcim_iomap_regions().
Cc: [email protected] # v5.14+
Fixes: 30bba69d7d ("stmmac: pci: Add dwmac support for Loongson")
Signed-off-by: Philipp Stanner <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Reviewed-by: Yanteng Si <[email protected]>
Tested-by: Henry Chen <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>