firmware: qcom: scm: add a missing forward declaration for struct device
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 17 Oct 2023 09:27:19 +0000 (11:27 +0200)
committerBjorn Andersson <andersson@kernel.org>
Sun, 22 Oct 2023 16:14:54 +0000 (09:14 -0700)
commit3294d01f7a5ddacb796d7f7bf31eb100a8f6d0e0
tree8e76aa1f4efa774fcc0e4feb6b46c663afd04c9d
parentbdac188ec3c71800dd8419620224ee74ef37732a
firmware: qcom: scm: add a missing forward declaration for struct device

We reference struct device in the private scm header but we neither
include linux/device.h nor forward declare it. Fix it.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Andrew Halaney <ahalaney@redhat.com>
Tested-by: Andrew Halaney <ahalaney@redhat.com> # sc8280xp-lenovo-thinkpad-x13s
Link: https://lore.kernel.org/r/20231017092732.19983-3-brgl@bgdev.pl
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/firmware/qcom/qcom_scm.h