[PATCH 3/9] printk: Add missing include/declaration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There are functions or structs used that do need these.

Signed-off-by: Markus Pargmann <mpa@xxxxxxxxxxxxxx>
---
 include/printk.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/printk.h b/include/printk.h
index a27ad514cfe1..822f64c61f7d 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, ...)
-- 
2.6.2


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux