summaryrefslogtreecommitdiffstats
path: root/include/printk.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/printk.h')
-rw-r--r--include/printk.h3
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, ...)