]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
scmi: Include device_compat.h
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Wed, 24 Feb 2021 10:19:43 +0000 (11:19 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Thu, 11 Mar 2021 16:03:19 +0000 (17:03 +0100)
Include the file needed for log function prototype, this patch solves the
compilation issue for undefined reference to `dev_err'.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
drivers/firmware/scmi/smccc_agent.c

index 64d0929f69c12803dd6f77444542b4d6e7278c50..81c2884bb7e59d7bed523d94da1be003afc3aa0b 100644 (file)
@@ -9,6 +9,7 @@
 #include <scmi_agent.h>
 #include <scmi_agent-uclass.h>
 #include <dm/devres.h>
+#include <dm/device_compat.h>
 #include <dm/device-internal.h>
 #include <linux/arm-smccc.h>
 #include <linux/compat.h>