bus: bt1-apb: remove duplicated including clk.h

Message ID 202312151637+0800-wangjinchao@xfusion.com
State New
Headers
Series bus: bt1-apb: remove duplicated including clk.h |

Commit Message

Wang Jinchao Dec. 15, 2023, 8:37 a.m. UTC
  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(-)
  

Patch

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>