[PATCH master 06/13] PWM: rockchip: fix compile testing with CONFIG_SANDBOX

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Oct 14 04:39:05 PDT 2024


basprintf isn't defined, so include the relevant header.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 drivers/pwm/pwm-rockchip.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pwm/pwm-rockchip.c b/drivers/pwm/pwm-rockchip.c
index 960867c52066..b302a84d5f3f 100644
--- a/drivers/pwm/pwm-rockchip.c
+++ b/drivers/pwm/pwm-rockchip.c
@@ -9,6 +9,7 @@
 #include <linux/clk.h>
 #include <linux/io.h>
 #include <module.h>
+#include <stdio.h>
 #include <of.h>
 #include <linux/device.h>
 #include <pwm.h>
-- 
2.39.5




More information about the barebox mailing list