diff options
| author | AKASHI Takahiro <[email protected]> | 2019-11-13 09:44:51 +0900 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2019-12-06 16:44:19 -0500 |
| commit | 29852bfc2296152baf31958092eb1f7384359185 (patch) | |
| tree | 87ebaf59f491c5a2ca7dac7d27ca02876d509234 /include/linux/kernel.h | |
| parent | 18723117271370e480f8ca9495f8850522fabb74 (diff) | |
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 <[email protected]>
Diffstat (limited to 'include/linux/kernel.h')
| -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 5c7e5f635b1..564819a1c0a 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)) |
