]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
soc: qcom: rpmh: adjust headers for U-Boot
authorCaleb Connolly <caleb.connolly@linaro.org>
Mon, 15 Jul 2024 10:08:11 +0000 (12:08 +0200)
committerCaleb Connolly <caleb.connolly@linaro.org>
Thu, 25 Jul 2024 23:28:11 +0000 (01:28 +0200)
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>
drivers/soc/qcom/rpmh.c

index 8903ed956312d0a2ac7f673d86ef504947e9b119..03ef4106c9a69d8e96d1f69aded4ff7e35c1f130 100644 (file)
@@ -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>