aboutsummaryrefslogtreecommitdiff
path: root/drivers/soc
diff options
context:
space:
mode:
authorCaleb Connolly <caleb.connolly@linaro.org>2024-07-15 12:08:03 +0200
committerCaleb Connolly <caleb.connolly@linaro.org>2024-07-26 01:28:10 +0200
commit5f791b81187d2cec34d03b031700827056b27c47 (patch)
tree4a282c998a5b1cfb72aa56296658684daeeefba6 /drivers/soc
parent6716e2211f09551b7bf5ddae0634e388e906b219 (diff)
downloadu-boot-5f791b81187d2cec34d03b031700827056b27c47.zip
u-boot-5f791b81187d2cec34d03b031700827056b27c47.tar.gz
u-boot-5f791b81187d2cec34d03b031700827056b27c47.tar.bz2
soc: qcom: cmd-db: adjust headers for U-Boot
Replace unused/unsupported Linux headers with appropriate U-Boot alternatives. Acked-by: Sumit Garg <sumit.garg@linaro.org> Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
Diffstat (limited to 'drivers/soc')
-rw-r--r--drivers/soc/qcom/cmd-db.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/drivers/soc/qcom/cmd-db.c b/drivers/soc/qcom/cmd-db.c
index d845726..b25f354 100644
--- a/drivers/soc/qcom/cmd-db.c
+++ b/drivers/soc/qcom/cmd-db.c
@@ -4,16 +4,15 @@
* Copyright (c) 2024, Qualcomm Innovation Center, Inc. All rights reserved.
*/
-#include <linux/bitfield.h>
-#include <linux/debugfs.h>
+#define pr_fmt(fmt) "cmd-db: " fmt
+
+#include <dm.h>
+#include <dm/ofnode.h>
+#include <dm/device_compat.h>
#include <linux/kernel.h>
-#include <linux/module.h>
-#include <linux/of.h>
-#include <linux/of_address.h>
-#include <linux/of_reserved_mem.h>
-#include <linux/platform_device.h>
-#include <linux/seq_file.h>
#include <linux/types.h>
+#include <linux/ioport.h>
+#include <linux/byteorder/generic.h>
#include <soc/qcom/cmd-db.h>