stmmac: loongson: Pass correct arg to PCI function
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: stable@vger.kernel.org # v5.14+ Fixes: 30bba69d ("stmmac: pci: Add dwmac support for Loongson") Signed-off-by:Philipp Stanner <phasta@kernel.org> Reviewed-by:
Andrew Lunn <andrew@lunn.ch> Reviewed-by:
Yanteng Si <si.yanteng@linux.dev> Tested-by:
Henry Chen <chenx97@aosc.io> Link: https://patch.msgid.link/20250226085208.97891-2-phasta@kernel.org Signed-off-by:
Jakub Kicinski <kuba@kernel.org>
Please register or sign in to comment