diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2019-11-13 09:44:51 +0900 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-12-06 14:06:53 -0500 |
commit | 21a93fce48ac6103777652032fd8041fd2f4e7d7 (patch) | |
tree | c7a5f62f1a6b0b43b662043ffecfa52ee3e93386 | |
parent | 88690939085789c013e6cc9e824a9be9574eed73 (diff) | |
download | u-boot-21a93fce48ac6103777652032fd8041fd2f4e7d7.tar.gz |
include: kernel.h: include printk.h
Adding "printk.h" will help improve portability from linux kernel
code (in my case, lib/asn1_decoder.c and others) where printf and
pr_* variant functions are used.
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
-rw-r--r-- | include/linux/kernel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index 5c7e5f635b..564819a1c0 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h @@ -1,8 +1,8 @@ #ifndef _LINUX_KERNEL_H #define _LINUX_KERNEL_H - #include <linux/types.h> +#include <linux/printk.h> /* for printf/pr_* utilities */ #define USHRT_MAX ((u16)(~0U)) #define SHRT_MAX ((s16)(USHRT_MAX>>1)) |