]> git.ipfire.org Git - thirdparty/u-boot.git/commit
net: macb: include arch/clk.h only when necessary
authorChristian DREHER <christian.dreher@nanoxplore.com>
Tue, 28 Apr 2026 18:04:05 +0000 (20:04 +0200)
committerJerome Forissier <jerome.forissier@arm.com>
Wed, 6 May 2026 09:07:22 +0000 (11:07 +0200)
commit9e23095298d12e086dd3d5d35972eb3e588d190d
treeaf9536a30e69aa222293840b64cb1735de7ab978
parent52309be1d56766ac7e0db3af26309b8573ac3bbf
net: macb: include arch/clk.h only when necessary

It does not exist in my setup (an on-going arm64 SoC), and removing
it does not cause any missing declaration, but some code called when
CONFIG_CLK is missing calls get_macb_pclk_rate, which is only defined
in arch/arm/mach-at91/include/mach/clk.h

Signed-off-by: Christian DREHER <christian.dreher@nanoxplore.com>
drivers/net/macb.c