2009-09-24 10:39:13

by Jaswinder Singh Rajput

[permalink] [raw]
Subject: [PATCH] blackfin: includecheck fix: mach-bf548, ezkit.c


fix the following 'make includecheck' warning:

arch/blackfin/mach-bf548/boards/ezkit.c: linux/input.h is included more than once.

Signed-off-by: Jaswinder Singh Rajput <[email protected]>
Cc: Mike Frysinger <[email protected]>
Cc: Michael Hennerich <[email protected]>
---
arch/blackfin/mach-bf548/boards/ezkit.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/blackfin/mach-bf548/boards/ezkit.c b/arch/blackfin/mach-bf548/boards/ezkit.c
index c66f380..383a18c 100644
--- a/arch/blackfin/mach-bf548/boards/ezkit.c
+++ b/arch/blackfin/mach-bf548/boards/ezkit.c
@@ -208,7 +208,6 @@ static struct platform_device bfin_rotary_device = {
#endif

#if defined(CONFIG_INPUT_ADXL34X) || defined(CONFIG_INPUT_ADXL34X_MODULE)
-#include <linux/input.h>
#include <linux/spi/adxl34x.h>
static const struct adxl34x_platform_data adxl34x_info = {
.x_axis_offset = 0,
--
1.6.0.6


2009-09-24 15:39:23

by Mike Frysinger

[permalink] [raw]
Subject: Re: [PATCH] blackfin: includecheck fix: mach-bf548, ezkit.c

On Thu, Sep 24, 2009 at 06:38, Jaswinder Singh Rajput wrote:
>
> fix the following 'make includecheck' warning:
>
>  arch/blackfin/mach-bf548/boards/ezkit.c: linux/input.h is included more than once.

thanks, ive added this to the Blackfin repo
-mike