2024-02-26 02:10:00

by Jiapeng Chong

[permalink] [raw]
Subject: [PATCH] bus: bt1-apb: Remove duplicate include

/drivers/bus/bt1-apb.c: linux/clk.h is included more than once.

Reported-by: Abaci Robot <[email protected]>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=8312
Signed-off-by: Jiapeng Chong <[email protected]>
---
drivers/bus/bt1-apb.c | 1 -
1 file changed, 1 deletion(-)

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
--
2.20.1.7.g153144c



2024-02-26 11:12:00

by Serge Semin

[permalink] [raw]
Subject: Re: [PATCH] bus: bt1-apb: Remove duplicate include

Hi Jiapeng

On Mon, Feb 26, 2024 at 10:09:27AM +0800, Jiapeng Chong wrote:
> ./drivers/bus/bt1-apb.c: linux/clk.h is included more than once.
>
> Reported-by: Abaci Robot <[email protected]>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=8312
> Signed-off-by: Jiapeng Chong <[email protected]>

Acked-by: Serge Semin <[email protected]>

-Serge(y)

> ---
> drivers/bus/bt1-apb.c | 1 -
> 1 file changed, 1 deletion(-)
>
> 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
> --
> 2.20.1.7.g153144c
>