diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2015-12-08 10:39:26 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-12-10 08:49:52 +0100 |
commit | 45885266f98577f71cca528538a8512a40228d03 (patch) | |
tree | 1d435dc7b6f9daeaadff4ba5ba9254c39a7a749a | |
parent | 6f42da2fc8aee833f4eeb5ad9cde6e7c79cd10d9 (diff) | |
download | barebox-45885266f98577f71cca528538a8512a40228d03.tar.gz barebox-45885266f98577f71cca528538a8512a40228d03.tar.xz |
printk: Add missing include/declaration
There are functions or structs used that do need these.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | include/printk.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/printk.h b/include/printk.h index a27ad514cf..822f64c61f 100644 --- a/include/printk.h +++ b/include/printk.h @@ -1,6 +1,8 @@ #ifndef __PRINTK_H #define __PRINTK_H +#include <linux/list.h> + #define MSG_EMERG 0 /* system is unusable */ #define MSG_ALERT 1 /* action must be taken immediately */ #define MSG_CRIT 2 /* critical conditions */ @@ -20,6 +22,7 @@ #endif /* debugging and troubleshooting/diagnostic helpers. */ +struct device_d; #ifndef CONFIG_CONSOLE_NONE int dev_printf(int level, const struct device_d *dev, const char *format, ...) |