summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaleb Connolly <[email protected]>2024-07-15 12:08:13 +0200
committerCaleb Connolly <[email protected]>2024-07-26 01:28:11 +0200
commitc6112dd2470d3cfe939f7ccc8c617025fbe5636c (patch)
tree5c1be5e8f8ccba15bf3ed53a51a26ff08d638884 /include
parenta726ea1140d82bae5ccee11619157313b8c80953 (diff)
soc: qcom: rpmh: U-Boot API changes
Fix build errors, add some debug logging. Acked-by: Sumit Garg <[email protected]> Signed-off-by: Caleb Connolly <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/soc/qcom/rpmh.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/soc/qcom/rpmh.h b/include/soc/qcom/rpmh.h
index 9a5c5d992e0..3421fbf1ee3 100644
--- a/include/soc/qcom/rpmh.h
+++ b/include/soc/qcom/rpmh.h
@@ -6,12 +6,12 @@
#ifndef __SOC_QCOM_RPMH_H__
#define __SOC_QCOM_RPMH_H__
+#include <dm/device-internal.h>
#include <soc/qcom/tcs.h>
-#include <linux/platform_device.h>
#if IS_ENABLED(CONFIG_QCOM_RPMH)
-int rpmh_write(const struct device *dev, enum rpmh_state state,
+int rpmh_write(const struct udevice *dev, enum rpmh_state state,
const struct tcs_cmd *cmd, u32 n);
#else