aboutsummaryrefslogtreecommitdiffstats
path: root/include/trace/events/writeback.h
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2010-07-19 19:49:17 -0400
committerJens Axboe <jaxboe@fusionio.com>2010-08-07 12:26:35 -0400
commit96dccab1d63cb35d3f5e75d2ef275fdbff4d5f3b (patch)
treed4baab082b2760be1bee774762c595ef389146e9 /include/trace/events/writeback.h
parent10d1f9e2ccfff40665a00ea0e0a0d11e54c9cbb1 (diff)
writeback.h: needs linux/device.h
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@oracle.com> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'include/trace/events/writeback.h')
-rw-r--r--include/trace/events/writeback.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/trace/events/writeback.h b/include/trace/events/writeback.h
index bde92e07fa4f..84ab72df953c 100644
--- a/include/trace/events/writeback.h
+++ b/include/trace/events/writeback.h
@@ -5,6 +5,7 @@
5#define _TRACE_WRITEBACK_H 5#define _TRACE_WRITEBACK_H
6 6
7#include <linux/backing-dev.h> 7#include <linux/backing-dev.h>
8#include <linux/device.h>
8#include <linux/writeback.h> 9#include <linux/writeback.h>
9 10
10struct wb_writeback_work; 11struct wb_writeback_work;