include/linux/dmapool.h: declare struct device
authorMark Brown <broonie@kernel.org>
Tue, 7 Apr 2015 21:26:44 +0000 (14:26 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 7 Apr 2015 23:45:33 +0000 (16:45 -0700)
commitce66b032ad7b838bf376e3b1bb4d8bce1a69ee5c
treea3c2f3b861e511cf0af956083955df418664da59
parenta368ab67aa55615a03b2c9c00fb965bee3ebeaa4
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/dmapool.h