* [PATCH] bus: bt1-apb: remove duplicated including clk.h
@ 2023-12-15 8:37 Wang Jinchao
0 siblings, 0 replies; only message in thread
From: Wang Jinchao @ 2023-12-15 8:37 UTC (permalink / raw)
To: linux-kernel; +Cc: stone.xulei, wangjinchao
remove second #include <linux/clk.h>
Signed-off-by: Wang Jinchao <wangjinchao@xfusion.com>
---
drivers/bus/bt1-apb.c | 1 -
tools/include/uapi/drm/drm.h | 8 +-------
2 files changed, 1 insertion(+), 8 deletions(-)
diff --git a/drivers/bus/bt1-apb.c b/drivers/bus/bt1-apb.c
index e97c1d1c7578..595fb22b73e0 100644
--- a/drivers/bus/bt1-apb.c
+++ b/drivers/bus/bt1-apb.c
@@ -22,7 +22,6 @@
#include <linux/clk.h>
#include <linux/reset.h>
#include <linux/time64.h>
-#include <linux/clk.h>
#include <linux/sysfs.h>
#define APB_EHB_ISR 0x00
diff --git a/tools/include/uapi/drm/drm.h b/tools/include/uapi/drm/drm.h
index de723566c5ae..c7f5a21e47a2 100644
--- a/tools/include/uapi/drm/drm.h
+++ b/tools/include/uapi/drm/drm.h
@@ -35,13 +35,7 @@
#ifndef _DRM_H_
#define _DRM_H_
-#if defined(__KERNEL__)
-
-#include <linux/types.h>
-#include <asm/ioctl.h>
-typedef unsigned int drm_handle_t;
-
-#elif defined(__linux__)
+#if defined(__KERNEL__) || defined(__linux__)
#include <linux/types.h>
#include <asm/ioctl.h>
--
2.40.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-12-15 8:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-15 8:37 [PATCH] bus: bt1-apb: remove duplicated including clk.h Wang Jinchao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®