basprintf isn't defined, so include the relevant header. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- 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