From: Randy Dunlap on
From: Randy Dunlap <randy.dunlap(a)>

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 <randy.dunlap(a)>
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 @@

#include <linux/backing-dev.h>
+#include <linux/device.h>
#include <linux/writeback.h>

struct wb_writeback_work;
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)
More majordomo info at
Please read the FAQ at