From: Randy Dunlap Date: Mon, 19 Jul 2010 23:49:17 +0000 (-0700) Subject: writeback.h: needs linux/device.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=96dccab1d63cb35d3f5e75d2ef275fdbff4d5f3b;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git 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 Signed-off-by: Jens Axboe --- diff --git a/include/trace/events/writeback.h b/include/trace/events/writeback.h index bde92e07fa4f..84ab72df953c 100644 --- a/include/trace/events/writeback.h +++ b/include/trace/events/writeback.h @@ -5,6 +5,7 @@ #define _TRACE_WRITEBACK_H #include +#include #include struct wb_writeback_work;