clk: rockchip: rk3576: add missing slab.h include
Subsystems (2)
Heiko Stuebner
maintainerPATCH 1/2 clk: rockchip: rk3576: add missing slab.h include
The change for auxiliary GRFs introduced kzalloc usage into the rk3576 clock driver, but missed adding the header for its prototype. Add it now.
--- drivers/clk/rockchip/clk-rk3576.c | 1 + 1 file changed, 1 insertion(+)
drivers/clk/rockchip/clk-rk3576.c +1 -0
@@ -10,6 +10,7 @@#include <linux/platform_device.h> #include <linux/syscore_ops.h> #include <linux/mfd/syscon.h> +#include <linux/slab.h> #include <dt-bindings/clock/rockchip,rk3576-cru.h> #include "clk.h"
Signature · 1 line
2.47.2
Heiko Stuebner
maintainerPATCH 2/2 clk: rockchip: rk3528: add slab.h header include
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.
--- drivers/clk/rockchip/clk-rk3528.c | 1 + 1 file changed, 1 insertion(+)
drivers/clk/rockchip/clk-rk3528.c +1 -0
@@ -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>
Signature · 1 line
2.47.2
Quoted 4 lines · Heiko Stuebner
The change for auxiliary GRFs introduced kzalloc usage into the rk3576 clock driver, but missed adding the header for its prototype. Add it now.
Applied, thanks!
[1/2] clk: rockchip: rk3576: add missing slab.h include
commit: 92da5c3cba23ee4be2c043bb63a551c89c48de18
[2/2] clk: rockchip: rk3528: add slab.h header include
commit: 276036283716b9135525b195675ea42801bde204Best regards,
Signature · 1 line
Heiko Stuebner <[email protected]>