]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
clk: rockchip: rk3528: add slab.h header include
authorHeiko Stuebner <heiko@sntech.de>
Thu, 15 May 2025 08:26:52 +0000 (10:26 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 15 May 2025 12:49:05 +0000 (14:49 +0200)
The newly added GRF types introduced kzalloc usage into the rk3528.
At least for the similar rk3576 driver, the kernel-test-robot reported the
missing prototype, which warranted adding a slab.h include.

While it did not complain about the rk3528, so the header might be included
"accidentially" right now, add a real include to make sure we keep it
included in the future.

Fixes: 306d2f5ddaa7 ("clk: rockchip: rk3528: Add SD/SDIO tuning clocks in GRF region")
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20250515082652.2503063-2-heiko@sntech.de
drivers/clk/rockchip/clk-rk3528.c

index f5f10493abfb1245c2bb0aa6dac0b7b7bc5eda2a..a5ff64b93f8f1cfb8221347237ce41be67d32e6f 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/platform_device.h>
 #include <linux/mfd/syscon.h>
 #include <linux/minmax.h>
+#include <linux/slab.h>
 
 #include <dt-bindings/clock/rockchip,rk3528-cru.h>