diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2010-07-19 16:49:17 -0700 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-08-07 18:26:35 +0200 |
commit | 96dccab1d63cb35d3f5e75d2ef275fdbff4d5f3b (patch) | |
tree | d4baab082b2760be1bee774762c595ef389146e9 /include/trace | |
parent | 10d1f9e2ccfff40665a00ea0e0a0d11e54c9cbb1 (diff) | |
download | linux-3.10-96dccab1d63cb35d3f5e75d2ef275fdbff4d5f3b.tar.gz linux-3.10-96dccab1d63cb35d3f5e75d2ef275fdbff4d5f3b.tar.bz2 linux-3.10-96dccab1d63cb35d3f5e75d2ef275fdbff4d5f3b.zip |
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')
-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 bde92e07fa4..84ab72df953 100644 --- a/include/trace/events/writeback.h +++ b/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; |