From 21742847bd842fd7a2e7ba60854b38e09a287260 Mon Sep 17 00:00:00 2001
From: Gabor Juhos <juhosg@openwrt.org>
Date: Wed, 13 Jan 2010 10:18:24 +0000
Subject: kernel: change debounce logic in the gpio-buttons driver
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

 * thanks to Nuno Gonçalves

SVN-Revision: 19115
---
 target/linux/generic-2.6/files/include/linux/gpio_buttons.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

(limited to 'target/linux/generic-2.6/files/include')

diff --git a/target/linux/generic-2.6/files/include/linux/gpio_buttons.h b/target/linux/generic-2.6/files/include/linux/gpio_buttons.h
index f5e6297258..f85b993ed2 100644
--- a/target/linux/generic-2.6/files/include/linux/gpio_buttons.h
+++ b/target/linux/generic-2.6/files/include/linux/gpio_buttons.h
@@ -1,7 +1,7 @@
 /*
  *  Definitions for the GPIO buttons interface driver
  *
- *  Copyright (C) 2007,2008 Gabor Juhos <juhosg at openwrt.org>
+ *  Copyright (C) 2007-2010 Gabor Juhos <juhosg@openwrt.org>
  *
  *  This file was based on: /include/linux/gpio_keys.h
  *	The original gpio_keys.h seems not to have a license.
@@ -21,7 +21,6 @@ struct gpio_button {
 	char	*desc;		/* button description */
 	int	type;		/* input event type (EV_KEY, EV_SW) */
 	int	code;		/* input event code (KEY_*, SW_*) */
-	int	count;
 	int	threshold;	/* count threshold */
 };
 
@@ -32,4 +31,3 @@ struct gpio_buttons_platform_data {
 };
 
 #endif /* _GPIO_BUTTONS_H_ */
-
-- 
cgit v1.2.3