We use pr_print logging in bselftest.h, so include the header that defines these macros. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- include/bselftest.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/bselftest.h b/include/bselftest.h index f03c803b6553..58d54c0728ce 100644 --- a/include/bselftest.h +++ b/include/bselftest.h @@ -4,6 +4,7 @@ #include <linux/compiler.h> #include <linux/list.h> +#include <linux/printk.h> #include <init.h> enum bselftest_group { -- 2.30.2