From 45885266f98577f71cca528538a8512a40228d03 Mon Sep 17 00:00:00 2001 From: Markus Pargmann Date: Tue, 8 Dec 2015 10:39:26 +0100 Subject: printk: Add missing include/declaration There are functions or structs used that do need these. Signed-off-by: Markus Pargmann Signed-off-by: Sascha Hauer --- include/printk.h | 3 +++ 1 file changed, 3 insertions(+) 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 + #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, ...) -- cgit v1.2.3