aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/cs_internal.h
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2010-07-11 04:26:53 -0400
committerDominik Brodowski <linux@dominikbrodowski.net>2010-07-30 15:07:34 -0400
commit7b24e7988263d3cae25ff35cfeae8a5657d93051 (patch)
tree2a2c78ed6d21c19bdf9d2261f6d04648e894571b /drivers/pcmcia/cs_internal.h
parent216d7cdd3b060518a2d4faf584eb15ef5af862b6 (diff)
pcmcia: split up central event handler
Split up the central event handler for 16bit cards into three individual functions. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/cs_internal.h')
-rw-r--r--drivers/pcmcia/cs_internal.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/pcmcia/cs_internal.h b/drivers/pcmcia/cs_internal.h
index a6cc63db8c8e..45e7fd1aa0bf 100644
--- a/drivers/pcmcia/cs_internal.h
+++ b/drivers/pcmcia/cs_internal.h
@@ -10,7 +10,7 @@
10 * are Copyright (C) 1999 David A. Hinds. All Rights Reserved. 10 * are Copyright (C) 1999 David A. Hinds. All Rights Reserved.
11 * 11 *
12 * (C) 1999 David A. Hinds 12 * (C) 1999 David A. Hinds
13 * (C) 2003 - 2008 Dominik Brodowski 13 * (C) 2003 - 2010 Dominik Brodowski
14 * 14 *
15 * 15 *
16 * This file contains definitions _only_ needed by the PCMCIA core modules. 16 * This file contains definitions _only_ needed by the PCMCIA core modules.
@@ -106,11 +106,12 @@ void cb_free(struct pcmcia_socket *s);
106 106
107struct pcmcia_callback{ 107struct pcmcia_callback{
108 struct module *owner; 108 struct module *owner;
109 int (*event) (struct pcmcia_socket *s, 109 int (*add) (struct pcmcia_socket *s);
110 event_t event, int priority); 110 int (*remove) (struct pcmcia_socket *s);
111 void (*requery) (struct pcmcia_socket *s); 111 void (*requery) (struct pcmcia_socket *s);
112 int (*validate) (struct pcmcia_socket *s, unsigned int *i); 112 int (*validate) (struct pcmcia_socket *s, unsigned int *i);
113 int (*suspend) (struct pcmcia_socket *s); 113 int (*suspend) (struct pcmcia_socket *s);
114 int (*early_resume) (struct pcmcia_socket *s);
114 int (*resume) (struct pcmcia_socket *s); 115 int (*resume) (struct pcmcia_socket *s);
115}; 116};
116 117