mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-26 12:27:12 +00:00
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>
This commit is contained in:
parent
1872311727
commit
29852bfc22
1 changed files with 1 additions and 1 deletions
|
@ -1,8 +1,8 @@
|
||||||
#ifndef _LINUX_KERNEL_H
|
#ifndef _LINUX_KERNEL_H
|
||||||
#define _LINUX_KERNEL_H
|
#define _LINUX_KERNEL_H
|
||||||
|
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
|
#include <linux/printk.h> /* for printf/pr_* utilities */
|
||||||
|
|
||||||
#define USHRT_MAX ((u16)(~0U))
|
#define USHRT_MAX ((u16)(~0U))
|
||||||
#define SHRT_MAX ((s16)(USHRT_MAX>>1))
|
#define SHRT_MAX ((s16)(USHRT_MAX>>1))
|
||||||
|
|
Loading…
Add table
Reference in a new issue