Commit 96dccab1 authored by Randy Dunlap's avatar Randy Dunlap Committed by Jens Axboe

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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
parent 10d1f9e2
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#define _TRACE_WRITEBACK_H #define _TRACE_WRITEBACK_H
#include <linux/backing-dev.h> #include <linux/backing-dev.h>
#include <linux/device.h>
#include <linux/writeback.h> #include <linux/writeback.h>
struct wb_writeback_work; struct wb_writeback_work;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment