mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-31 03:37:46 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user