Skip to content

Commit 3294d01

Browse files
Bartosz Golaszewskiandersson
authored andcommitted
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>
1 parent bdac188 commit 3294d01

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/firmware/qcom/qcom_scm.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
#ifndef __QCOM_SCM_INT_H
55
#define __QCOM_SCM_INT_H
66

7+
struct device;
8+
79
enum qcom_scm_convention {
810
SMC_CONVENTION_UNKNOWN,
911
SMC_CONVENTION_LEGACY,

0 commit comments

Comments
 (0)