2009-09-24 10:50:21

by Jaswinder Singh Rajput

[permalink] [raw]
Subject: [PATCH] m68knommu: includecheck fix: 5206e, config.c


fix the following 'make includecheck' warning:

arch/m68knommu/platform/5206e/config.c: asm/mcfuart.h is included more than once.

Signed-off-by: Jaswinder Singh Rajput <[email protected]>
Cc: Greg Ungerer <[email protected]>
Cc: Steven King <[email protected]>
---
arch/m68knommu/platform/5206e/config.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/m68knommu/platform/5206e/config.c b/arch/m68knommu/platform/5206e/config.c
index 0f41ba8..9423979 100644
--- a/arch/m68knommu/platform/5206e/config.c
+++ b/arch/m68knommu/platform/5206e/config.c
@@ -17,7 +17,6 @@
#include <asm/mcfsim.h>
#include <asm/mcfuart.h>
#include <asm/mcfdma.h>
-#include <asm/mcfuart.h>

/***************************************************************************/

--
1.6.0.6


2009-09-25 04:06:22

by Greg Ungerer

[permalink] [raw]
Subject: Re: [PATCH] m68knommu: includecheck fix: 5206e, config.c

Hi Jaswinder,

Jaswinder Singh Rajput wrote:
> fix the following 'make includecheck' warning:
>
> arch/m68knommu/platform/5206e/config.c: asm/mcfuart.h is included more than once.
>
> Signed-off-by: Jaswinder Singh Rajput <[email protected]>
> Cc: Greg Ungerer <[email protected]>
> Cc: Steven King <[email protected]>

Thanks. Essentially the same patch was sent here a few days ago
by Huang Weiyi. And that is currently sitting in the for-linus
branch of:

http://git.kernel.org/?p=linux/kernel/git/gerg/m68knommu.git;a=summary

I will be sending that to Linus soon (with a couple of other
fixes too).

Regards
Greg



> ---
> arch/m68knommu/platform/5206e/config.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/arch/m68knommu/platform/5206e/config.c b/arch/m68knommu/platform/5206e/config.c
> index 0f41ba8..9423979 100644
> --- a/arch/m68knommu/platform/5206e/config.c
> +++ b/arch/m68knommu/platform/5206e/config.c
> @@ -17,7 +17,6 @@
> #include <asm/mcfsim.h>
> #include <asm/mcfuart.h>
> #include <asm/mcfdma.h>
> -#include <asm/mcfuart.h>
>
> /***************************************************************************/
>

--
------------------------------------------------------------------------
Greg Ungerer -- Principal Engineer EMAIL: [email protected]
SnapGear Group, McAfee PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com