* [PATCH 1/1] arm/hw_breakpoint.c: Added #include <linux/kdebug.h> instead of<asm/kdebug.h>
[not found] <"000501d0a427$ad431980$07c94c80$@s"@samsung.com>
@ 2015-06-11 9:32 ` Will Deacon
0 siblings, 0 replies; only message in thread
From: Will Deacon @ 2015-06-11 9:32 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Jun 11, 2015 at 10:18:44AM +0100, Maninder Singh wrote:
> This patch fixes below checkpatch.pl warning:
> WARNING: Use #include <linux/kdebug.h> instead of <asm/kdebug.h>
>
> Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
> Reviewed-by: Vaneet Narang <v.narang@samsung.com>
> ---
> arch/arm/kernel/hw_breakpoint.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/kernel/hw_breakpoint.c b/arch/arm/kernel/hw_breakpoint.c
> index dc7d0a9..86eef81 100644
> --- a/arch/arm/kernel/hw_breakpoint.c
> +++ b/arch/arm/kernel/hw_breakpoint.c
> @@ -35,7 +35,7 @@
> #include <asm/cputype.h>
> #include <asm/current.h>
> #include <asm/hw_breakpoint.h>
> -#include <asm/kdebug.h>
> +#include <linux/kdebug.h>
> #include <asm/traps.h>
> /* Breakpoint currently in use for each BRP. */
afaict, we don't even need the header so we can just drop the #include
altogether. Same for arm64.
Will
^ permalink raw reply [flat|nested] only message in thread