2019-03-27 16:21:56

by Jagadeesh Pagadala

[permalink] [raw]
Subject: [PATCH] arch:sh:mach-sh03/rtc.c : Remove duplicate header

From: Jagadeesh Pagadala <[email protected]>

Remove duplicate header which is included twice.

Signed-off-by: Jagadeesh Pagadala <[email protected]>
---
arch/sh/boards/mach-sh03/rtc.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/arch/sh/boards/mach-sh03/rtc.c b/arch/sh/boards/mach-sh03/rtc.c
index 8b23ed7..165e2cc 100644
--- a/arch/sh/boards/mach-sh03/rtc.c
+++ b/arch/sh/boards/mach-sh03/rtc.c
@@ -14,7 +14,6 @@
#include <linux/rtc.h>
#include <linux/spinlock.h>
#include <linux/io.h>
-#include <linux/rtc.h>
#include <linux/platform_device.h>

#define RTC_BASE 0xb0000000
--
1.8.3.1



2019-03-28 06:40:22

by Mukesh Ojha

[permalink] [raw]
Subject: Re: [PATCH] arch:sh:mach-sh03/rtc.c : Remove duplicate header


On 3/28/2019 2:50 AM, [email protected] wrote:
> From: Jagadeesh Pagadala <[email protected]>
>
> Remove duplicate header which is included twice.
>
> Signed-off-by: Jagadeesh Pagadala <[email protected]>

Reviewed-by: Mukesh Ojha <[email protected]>

-Mukesh


> ---
> arch/sh/boards/mach-sh03/rtc.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/sh/boards/mach-sh03/rtc.c b/arch/sh/boards/mach-sh03/rtc.c
> index 8b23ed7..165e2cc 100644
> --- a/arch/sh/boards/mach-sh03/rtc.c
> +++ b/arch/sh/boards/mach-sh03/rtc.c
> @@ -14,7 +14,6 @@
> #include <linux/rtc.h>
> #include <linux/spinlock.h>
> #include <linux/io.h>
> -#include <linux/rtc.h>
> #include <linux/platform_device.h>
>
> #define RTC_BASE 0xb0000000