2024-04-24 02:24:43

by Jiapeng Chong

[permalink] [raw]
Subject: [PATCH] coresight: Remove duplicate linux/amba/bus.h header

/include/linux/coresight.h: linux/amba/bus.h is included more than once.

Reported-by: Abaci Robot <[email protected]>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=8869
Signed-off-by: Jiapeng Chong <[email protected]>
---
include/linux/coresight.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/include/linux/coresight.h b/include/linux/coresight.h
index 653f1712eb77..f09ace92176e 100644
--- a/include/linux/coresight.h
+++ b/include/linux/coresight.h
@@ -12,7 +12,6 @@
#include <linux/io.h>
#include <linux/perf_event.h>
#include <linux/sched.h>
-#include <linux/amba/bus.h>
#include <linux/platform_device.h>

/* Peripheral id registers (0xFD0-0xFEC) */
--
2.20.1.7.g153144c



2024-04-24 12:07:07

by James Clark

[permalink] [raw]
Subject: Re: [PATCH] coresight: Remove duplicate linux/amba/bus.h header



On 24/04/2024 03:24, Jiapeng Chong wrote:
> ./include/linux/coresight.h: linux/amba/bus.h is included more than once.
>
> Reported-by: Abaci Robot <[email protected]>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=8869
> Signed-off-by: Jiapeng Chong <[email protected]>
> ---
> include/linux/coresight.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/include/linux/coresight.h b/include/linux/coresight.h
> index 653f1712eb77..f09ace92176e 100644
> --- a/include/linux/coresight.h
> +++ b/include/linux/coresight.h
> @@ -12,7 +12,6 @@
> #include <linux/io.h>
> #include <linux/perf_event.h>
> #include <linux/sched.h>
> -#include <linux/amba/bus.h>
> #include <linux/platform_device.h>
>
> /* Peripheral id registers (0xFD0-0xFEC) */

Reviewed-by: James Clark <[email protected]>

2024-04-24 16:12:07

by Suzuki K Poulose

[permalink] [raw]
Subject: Re: [PATCH] coresight: Remove duplicate linux/amba/bus.h header

On Wed, 24 Apr 2024 10:24:20 +0800, Jiapeng Chong wrote:
> ./include/linux/coresight.h: linux/amba/bus.h is included more than once.
>
>

Applied, thanks!

[1/1] coresight: Remove duplicate linux/amba/bus.h header
https://git.kernel.org/coresight/c/e8293395b9caa57e38cc05b9102d4ec7835b0a0f

Best regards,
--
Suzuki K Poulose <[email protected]>