Skip to content

Commit

Permalink
writeback.h: needs linux/device.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and Jens Axboe committed Aug 7, 2010
1 parent 10d1f9e commit 96dccab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/trace/events/writeback.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 96dccab

Please sign in to comment.