[PATCH] pcmcia: move event handler
Move the "event handler" to struct pcmcia_driver -- the unified event handler will disappear really soon, but switching it to struct pcmcia_driver in the meantime allows for better "step-by-step" patches. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
bf45d9b0ac
commit
1e212f3645
@@ -114,9 +114,6 @@ static inline void cs_socket_put(struct pcmcia_socket *skt)
|
||||
#define CHECK_ERASEQ(q) \
|
||||
(((q) == NULL) || ((q)->eraseq_magic != ERASEQ_MAGIC))
|
||||
|
||||
#define EVENT(h, e, p) \
|
||||
((h)->event_handler((e), (p), &(h)->event_callback_args))
|
||||
|
||||
/* In cardbus.c */
|
||||
int cb_alloc(struct pcmcia_socket *s);
|
||||
void cb_free(struct pcmcia_socket *s);
|
||||
|
Reference in New Issue
Block a user