]> asedeno.scripts.mit.edu Git - linux.git/commit
tee: add forward declaration for struct device
authorJerome Forissier <jerome.forissier@linaro.org>
Wed, 31 May 2017 11:21:05 +0000 (13:21 +0200)
committerJens Wiklander <jens.wiklander@linaro.org>
Fri, 4 Aug 2017 08:30:27 +0000 (10:30 +0200)
commit999616b8536cf3b9a1d0d74d5542ea009df482ff
treef8471b2fb028852be5a3a2c403af97ffc4406441
parentefb14036bd7f8914f721e1e82891d4ba617cc784
tee: add forward declaration for struct device

tee_drv.h references struct device, but does not include device.h nor
platform_device.h. Therefore, if tee_drv.h is included by some file
that does not pull device.h nor platform_device.h beforehand, we have a
compile warning. Fix this by adding a forward declaration.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
include/linux/tee_drv.h