2019-01-28 17:10:49

by Brajeswar Ghosh

[permalink] [raw]
Subject: [PATCH] powerpc/kernel/time: Remove duplicate header

Remove linux/rtc.h which is included more than once

Signed-off-by: Brajeswar Ghosh <[email protected]>
---
arch/powerpc/kernel/time.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/arch/powerpc/kernel/time.c b/arch/powerpc/kernel/time.c
index 3646affae963..bc0503ef9c9c 100644
--- a/arch/powerpc/kernel/time.c
+++ b/arch/powerpc/kernel/time.c
@@ -57,7 +57,6 @@
#include <linux/irq_work.h>
#include <linux/clk-provider.h>
#include <linux/suspend.h>
-#include <linux/rtc.h>
#include <linux/sched/cputime.h>
#include <linux/processor.h>
#include <asm/trace.h>
--
2.17.1



2019-01-28 19:06:00

by Souptick Joarder

[permalink] [raw]
Subject: Re: [PATCH] powerpc/kernel/time: Remove duplicate header

On Mon, Jan 28, 2019 at 9:41 PM Brajeswar Ghosh
<[email protected]> wrote:
>
> Remove linux/rtc.h which is included more than once
>
> Signed-off-by: Brajeswar Ghosh <[email protected]>

Acked-by: Souptick Joarder <[email protected]>

> ---
> arch/powerpc/kernel/time.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/powerpc/kernel/time.c b/arch/powerpc/kernel/time.c
> index 3646affae963..bc0503ef9c9c 100644
> --- a/arch/powerpc/kernel/time.c
> +++ b/arch/powerpc/kernel/time.c
> @@ -57,7 +57,6 @@
> #include <linux/irq_work.h>
> #include <linux/clk-provider.h>
> #include <linux/suspend.h>
> -#include <linux/rtc.h>
> #include <linux/sched/cputime.h>
> #include <linux/processor.h>
> #include <asm/trace.h>
> --
> 2.17.1
>

2019-02-08 13:05:18

by Michael Ellerman

[permalink] [raw]
Subject: Re: powerpc/kernel/time: Remove duplicate header

On Mon, 2019-01-28 at 16:11:36 UTC, Brajeswar Ghosh wrote:
> Remove linux/rtc.h which is included more than once
>
> Signed-off-by: Brajeswar Ghosh <[email protected]>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/75f8a37580b64f87c223fbd08db6b2f7

cheers