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 <[email protected]> Reviewed-by: Andrew Halaney <[email protected]> Tested-by: Andrew Halaney <[email protected]> # sc8280xp-lenovo-thinkpad-x13s Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent bdac188 commit 3294d01

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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)