]> git.ipfire.org Git - thirdparty/linux.git/commit
net: stmmac: move PTP support check into stmmac_init_timestamping()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Thu, 11 Sep 2025 11:10:23 +0000 (12:10 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sun, 14 Sep 2025 19:01:23 +0000 (12:01 -0700)
commit9d5059228c55c8d05590830468f5e1cb90440a41
treec898081b2e67b4ac498e28a3ab0a3e1481804e0a
parent84b994ac4e4ea60b7752372c581796b95fc88656
net: stmmac: move PTP support check into stmmac_init_timestamping()

Move the PTP support check from stmmac_init_tstamp_counter() into
stmmac_init_timestamping() as it makes more sense to be there.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c