diff options
author | Caleb Connolly <caleb.connolly@linaro.org> | 2024-07-15 12:08:08 +0200 |
---|---|---|
committer | Caleb Connolly <caleb.connolly@linaro.org> | 2024-07-26 01:28:10 +0200 |
commit | 3b2f15f530459bf62d24da778d0d5028c10f706d (patch) | |
tree | 0e4a1dd94b3d7cdc38f77cffd070f9ca46493085 /drivers/soc | |
parent | 80c5be164adabd0521080a392aa9e5ee6d76d3fa (diff) | |
download | u-boot-3b2f15f530459bf62d24da778d0d5028c10f706d.zip u-boot-3b2f15f530459bf62d24da778d0d5028c10f706d.tar.gz u-boot-3b2f15f530459bf62d24da778d0d5028c10f706d.tar.bz2 |
soc: qcom: rpmh-rsc: adjust headers for U-Boot
Remove unsupported / unused Linux headers and add those needed for
U-Boot.
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/rpmh-rsc.c | 38 |
1 files changed, 13 insertions, 25 deletions
diff --git a/drivers/soc/qcom/rpmh-rsc.c b/drivers/soc/qcom/rpmh-rsc.c index fc8321b..6b47c80 100644 --- a/drivers/soc/qcom/rpmh-rsc.c +++ b/drivers/soc/qcom/rpmh-rsc.c @@ -6,37 +6,25 @@ #define pr_fmt(fmt) "%s " fmt, KBUILD_MODNAME -#include <linux/atomic.h> -#include <linux/cpu_pm.h> +#include <dm.h> +#include <dm/device_compat.h> +#include <dm/devres.h> +#include <dm/lists.h> +#include <dm/ofnode.h> +#include <linux/bitmap.h> #include <linux/delay.h> -#include <linux/interrupt.h> -#include <linux/io.h> -#include <linux/iopoll.h> -#include <linux/kernel.h> -#include <linux/ktime.h> -#include <linux/list.h> -#include <linux/module.h> -#include <linux/notifier.h> -#include <linux/of.h> -#include <linux/of_irq.h> -#include <linux/of_platform.h> -#include <linux/platform_device.h> -#include <linux/pm_domain.h> -#include <linux/pm_runtime.h> -#include <linux/slab.h> -#include <linux/spinlock.h> -#include <linux/wait.h> - -#include <clocksource/arm_arch_timer.h> -#include <soc/qcom/cmd-db.h> +#include <linux/err.h> +#include <linux/types.h> +#include <asm/bitops.h> +#include <asm/io.h> + +#include <log.h> + #include <soc/qcom/tcs.h> #include <dt-bindings/soc/qcom,rpmh-rsc.h> #include "rpmh-internal.h" -#define CREATE_TRACE_POINTS -#include "trace-rpmh.h" - #define RSC_DRV_ID 0 |