projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10d1f9e
)
writeback.h: needs linux/device.h
author
Randy Dunlap
<randy.dunlap@oracle.com>
Mon, 19 Jul 2010 23:49:17 +0000
(16:49 -0700)
committer
Jens 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
patch
|
blob
|
blame
|
history
diff --git
a/include/trace/events/writeback.h
b/include/trace/events/writeback.h
index bde92e07fa4f6e0dcb14d9f93cb315c41336e092..84ab72df953cb5492063c35d5da56d8ad9a3487c 100644
(file)
--- a/
include/trace/events/writeback.h
+++ b/
include/trace/events/writeback.h
@@
-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;