diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2010-07-19 19:49:17 -0400 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-08-07 12:26:35 -0400 |
commit | 96dccab1d63cb35d3f5e75d2ef275fdbff4d5f3b (patch) | |
tree | d4baab082b2760be1bee774762c595ef389146e9 /include/trace/events/writeback.h | |
parent | 10d1f9e2ccfff40665a00ea0e0a0d11e54c9cbb1 (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.h | 1 |
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 | ||
10 | struct wb_writeback_work; | 11 | struct wb_writeback_work; |