]> git.ipfire.org Git - thirdparty/linux.git/commit
net: stmmac: move initialisation of clk_csr to stmmac_plat_dat_alloc()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Fri, 14 Nov 2025 15:28:34 +0000 (15:28 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 18 Nov 2025 03:47:57 +0000 (19:47 -0800)
commitae4f29712bf3468111b9ca65b6ecd94c062cb98f
treee306bf986a5da5fb083395651b263d851e294fb0
parent99e6ddaabdb4a4562d18eb7d2225f98801235904
net: stmmac: move initialisation of clk_csr to stmmac_plat_dat_alloc()

Move the default initialisation of plat_dat->clk_csr to
stmmac_plat_dat_alloc().

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1vJvj0-0000000EVjb-1jDh@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c