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

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)oracle.com>
---
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;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/