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
00-INDEX -rw-r--r-- 385 bytes
ChangeLog.ide-cd.1994-2004 -rw-r--r-- 15.2 KB
ChangeLog.ide-floppy.1996-2002 -rw-r--r-- 4.0 KB
ChangeLog.ide-tape.1995-2002 -rw-r--r-- 15.9 KB
ide-tape.txt -rw-r--r-- 2.5 KB
ide.txt -rw-r--r-- 10.7 KB
warm-plug-howto.txt -rw-r--r-- 525 bytes

back to top