]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: ethernet: mtk_eth_soc: sync mtk_clks_source_name array
authorDaniel Golle <daniel@makrotopia.org>
Fri, 25 Apr 2025 04:29:53 +0000 (05:29 +0100)
committerJakub Kicinski <kuba@kernel.org>
Mon, 28 Apr 2025 21:03:24 +0000 (14:03 -0700)
commit8c47d5753a119f1c986bc3ed92e9178d2624e1e8
treebb77f96c49941410fa1c24e3f8b6eff4ec1bfab8
parentf04dd30f1bef1ed2e74a4050af6e5e5e3869bac3
net: ethernet: mtk_eth_soc: sync mtk_clks_source_name array

When removing the clock bits for clocks which aren't used by the
Ethernet driver their names should also have been removed from the
mtk_clks_source_name array.

Remove them now as enum mtk_clks_map needs to match the
mtk_clks_source_name array so the driver can make sure that all required
clocks are present and correctly name missing clocks.

Fixes: 887b1d1adb2e ("net: ethernet: mtk_eth_soc: drop clocks unused by Ethernet driver")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/d075e706ff1cebc07f9ec666736d0b32782fd487.1745555321.git.daniel@makrotopia.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mediatek/mtk_eth_soc.c