summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Connolly <caleb.connolly@linaro.org>2024-07-15 12:08:11 +0200
committerCaleb Connolly <caleb.connolly@linaro.org>2024-07-26 01:28:11 +0200
commite5218206cedc6dd9eb861e4b5c1573ce3e12f028 (patch)
tree258f77e8f3077ef4f28d5f539235239b3f9904df
parentf55f7decdfbed9366dfec1c54ede61c0d0d9a956 (diff)
soc: qcom: rpmh: adjust headers for U-Boot
Drop unused/unsupported Linux headers and add dm/device.h for U-Boot. Acked-by: Sumit Garg <sumit.garg@linaro.org> Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
-rw-r--r--drivers/soc/qcom/rpmh.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/drivers/soc/qcom/rpmh.c b/drivers/soc/qcom/rpmh.c
index 8903ed95631..03ef4106c9a 100644
--- a/drivers/soc/qcom/rpmh.c
+++ b/drivers/soc/qcom/rpmh.c
@@ -3,20 +3,12 @@
* Copyright (c) 2016-2018, The Linux Foundation. All rights reserved.
*/
-#include <linux/atomic.h>
+#include <dm/device.h>
+#include <dm/device_compat.h>
#include <linux/bug.h>
-#include <linux/interrupt.h>
-#include <linux/jiffies.h>
#include <linux/kernel.h>
#include <linux/list.h>
-#include <linux/lockdep.h>
-#include <linux/module.h>
-#include <linux/of.h>
-#include <linux/platform_device.h>
-#include <linux/slab.h>
-#include <linux/spinlock.h>
#include <linux/types.h>
-#include <linux/wait.h>
#include <soc/qcom/rpmh.h>