]> git.karo-electronics.de Git - karo-tx-linux.git/commit
include/linux/dmapool.h: declare struct device
authorMark Brown <broonie@kernel.org>
Tue, 7 Apr 2015 23:43:49 +0000 (09:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 7 Apr 2015 23:43:49 +0000 (09:43 +1000)
commit58a034e2b5408c163fc34c7ede6148fece99619d
treea3c2f3b861e511cf0af956083955df418664da59
parent436676b3389b75e7c7dd13c4d02fcd2c52f65232
include/linux/dmapool.h: declare struct device

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>
include/linux/dmapool.h