diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-10-17 11:27:19 +0200 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-10-22 09:14:54 -0700 |
commit | 3294d01f7a5ddacb796d7f7bf31eb100a8f6d0e0 (patch) | |
tree | 8e76aa1f4efa774fcc0e4feb6b46c663afd04c9d /drivers/firmware/qcom | |
parent | bdac188ec3c71800dd8419620224ee74ef37732a (diff) |
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>
Diffstat (limited to 'drivers/firmware/qcom')
-rw-r--r-- | drivers/firmware/qcom/qcom_scm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/firmware/qcom/qcom_scm.h b/drivers/firmware/qcom/qcom_scm.h index 7b68fa820495..c88e29051d20 100644 --- a/drivers/firmware/qcom/qcom_scm.h +++ b/drivers/firmware/qcom/qcom_scm.h @@ -4,6 +4,8 @@ #ifndef __QCOM_SCM_INT_H #define __QCOM_SCM_INT_H +struct device; + enum qcom_scm_convention { SMC_CONVENTION_UNKNOWN, SMC_CONVENTION_LEGACY, |