]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
writeback.h: needs linux/device.h
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 19 Jul 2010 23:49:17 +0000 (16:49 -0700)
committerJens Axboe <jaxboe@fusionio.com>
Sat, 7 Aug 2010 16:26:35 +0000 (18:26 +0200)
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>
include/trace/events/writeback.h

index bde92e07fa4f6e0dcb14d9f93cb315c41336e092..84ab72df953cb5492063c35d5da56d8ad9a3487c 100644 (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;