From cbbd88737f13996ce9f168e4fdf479a2fdd9220f Mon Sep 17 00:00:00 2001 From: Juha Yrjola Date: Thu, 8 Dec 2005 04:01:23 +0200 Subject: [PATCH] ARM: OMAP: Make gpio-switch driver compile again Signed-off-by: Imre Deak Signed-off-by: Juha Yrjola --- arch/arm/plat-omap/gpio-switch.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm/plat-omap/gpio-switch.c b/arch/arm/plat-omap/gpio-switch.c index 787e88d8ce4..1e9025d8f85 100644 --- a/arch/arm/plat-omap/gpio-switch.c +++ b/arch/arm/plat-omap/gpio-switch.c @@ -15,7 +15,7 @@ #include #include #include -#include +#include #include #include #include @@ -29,7 +29,6 @@ struct gpio_switch { u16 gpio; int flags; int type; - int key_code; int state; struct work_struct work; @@ -228,7 +227,6 @@ static int __init add_atag_switches(void) sw->gpio = cfg->gpio; sw->flags = cfg->flags; sw->type = cfg->type; - sw->key_code = cfg->key_code; sw->state = gpio_sw_get_state(sw); if ((r = new_switch(sw)) < 0) { kfree(sw); -- 2.41.1