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:
Randy Dunlap 2010-07-19 16:49:17 -07:00 committed by Jens Axboe
parent 10d1f9e2cc
commit 96dccab1d6
1 changed files with 1 additions and 0 deletions

View File

@ -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;