Skip to content
Snippets Groups Projects
Commit 29852bfc authored by AKASHI Takahiro's avatar AKASHI Takahiro Committed by Tom Rini
Browse files

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: default avatarAKASHI Takahiro <takahiro.akashi@linaro.org>
parent 18723117
No related branches found
No related tags found
No related merge requests found
#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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment