aboutsummaryrefslogtreecommitdiff
path: root/drivers/firmware/scmi
diff options
context:
space:
mode:
authorPatrick Delaunay2021-02-24 11:19:43 +0100
committerPatrice Chotard2021-03-11 17:03:19 +0100
commit1b9ad5198afa4d6c39ec605935dab468f7559b9e (patch)
tree929a2a5744bc4a282e1f3878c9a03071b9213884 /drivers/firmware/scmi
parent08db5d5c7198d38ec51e12b8a65fc2b68dd92acc (diff)
scmi: Include device_compat.h
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>
Diffstat (limited to 'drivers/firmware/scmi')
-rw-r--r--drivers/firmware/scmi/smccc_agent.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/firmware/scmi/smccc_agent.c b/drivers/firmware/scmi/smccc_agent.c
index 64d0929f69c..81c2884bb7e 100644
--- a/drivers/firmware/scmi/smccc_agent.c
+++ b/drivers/firmware/scmi/smccc_agent.c
@@ -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>