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>
This commit is contained in:
parent
10d1f9e2cc
commit
96dccab1d6
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue