Subject: [PATCH -next/resend] writeback.h: needs linux/device.h

From: Randy Dunlap <[email-masked]>
Date: Mon, 19 Jul 2010 16:49:17 -0700

From: Randy Dunlap <[email-masked]>

include/trace/events/writeback.h uses dev_name(), so it needs to
include linux/device.h.

include/trace/events/writeback.h:12: error: implicit declaration of function 'dev_name'

Signed-off-by: Randy Dunlap <[email-masked]>
---
 include/trace/events/writeback.h |    1 +
 1 file changed, 1 insertion(+)

--- linux-next-20100708.orig/include/trace/events/writeback.h
+++ linux-next-20100708/include/trace/events/writeback.h
@@ -5,6 +5,7 @@
 #define _TRACE_WRITEBACK_H
 
 #include <linux/backing-dev.h>
+#include <linux/device.h>
 #include <linux/writeback.h>
 
 struct wb_writeback_work;