Revision ce66b032ad7b838bf376e3b1bb4d8bce1a69ee5c authored by Mark Brown on 07 April 2015, 21:26:44 UTC, committed by Linus Torvalds on 07 April 2015, 23:45:33 UTC
dmapool uses struct device in function arguments but relies on an
implicit inclusion to declare struct device causing warnings in some
configurations:

  include/linux/dmapool.h:31:7: warning: 'struct device' declared inside parameter list

Fix this by adding a struct device declaration to the file.

Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent a368ab6
History
File Mode Size
.gitignore -rw-r--r-- 5 bytes
Makefile -rw-r--r-- 285 bytes
cn_test.c -rw-r--r-- 4.5 KB
connector.txt -rw-r--r-- 7.0 KB
ucon.c -rw-r--r-- 5.1 KB

back to top