clk: rockchip: rk3576: add missing slab.h include

A patch from »clk: rockchip: rk3576: add missing slab.h include« in state Mainline for linux-kernel

From: Heiko Stuebner <heiko@...> Date: Thu, 15 May 2025 10:17:58 +0200

Commit-Message

The change for auxiliary GRFs introduced kzalloc usage into the rk3576 clock driver, but missed adding the header for its prototype. Add it now. Reported-by: kernel test robot <lkp@...> Closes: https://lore.kernel.org/oe-kbuild-all/202505150941.KWKskr2c-lkp@intel.com/ Fixes: 70a114daf207 ("clk: rockchip: introduce auxiliary GRFs") Signed-off-by: Heiko Stuebner <heiko@...>

Patch-Comment

drivers/clk/rockchip/clk-rk3576.c | 1 + 1 file changed, 1 insertion(+)

Statistics

  • 1 lines added
  • 0 lines removed

Changes

---------------------- drivers/clk/rockchip/clk-rk3576.c -----------------------
index 71e77013f726..1f4547af5acf 100644
@@ -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"
 
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...