2010-07-20 04:57:01

by Javier Martinez Canillas

[permalink] [raw]
Subject: [PATCH] staging/wlags49_h2: remove unused function prototype

With today linux-next I got a compile error in staging/wlags49_h2 driver
due an unused function prototype that use a data type (event_callback_args_t)
that doesn't exist anymore in the pcmcia code.

Current patch solves the issue removing the function prototype.

Thanks a lot.

Signed-off-by: Javier Martinez Canillas <[email protected]>
---
drivers/staging/wlags49_h2/wl_cs.h | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/wlags49_h2/wl_cs.h b/drivers/staging/wlags49_h2/wl_cs.h
index a9b8828..21f17be 100644
--- a/drivers/staging/wlags49_h2/wl_cs.h
+++ b/drivers/staging/wlags49_h2/wl_cs.h
@@ -72,8 +72,6 @@ void wl_adapter_insert(struct pcmcia_device *link);

void wl_adapter_release(struct pcmcia_device *link);

-int wl_adapter_event(event_t event, int priority, event_callback_args_t *args );
-
int wl_adapter_init_module( void );

void wl_adapter_cleanup_module( void );
--
1.7.0.4