aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/cs_internal.h
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2005-06-27 19:28:17 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-27 21:03:08 -0400
commite2f0b5344161dabfab102ac0a54f330f61477972 (patch)
tree74ecdbd6bd7e875c56f78a5a1d7822ade2159794 /drivers/pcmcia/cs_internal.h
parente94e15f70559962f60915a09d44658b73a453fe2 (diff)
[PATCH] pcmcia: rescan bus always upon echoing into setup_done
Always rescan the devices upon echo'ing something to available_resources_setup_done. This is needed for proper "coldplug" support. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/pcmcia/cs_internal.h')
-rw-r--r--drivers/pcmcia/cs_internal.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pcmcia/cs_internal.h b/drivers/pcmcia/cs_internal.h
index 211637390fbc..7830d7e42ea0 100644
--- a/drivers/pcmcia/cs_internal.h
+++ b/drivers/pcmcia/cs_internal.h
@@ -159,8 +159,7 @@ int pccard_access_configuration_register(struct pcmcia_socket *s, unsigned int f
159struct pcmcia_callback{ 159struct pcmcia_callback{
160 struct module *owner; 160 struct module *owner;
161 int (*event) (struct pcmcia_socket *s, event_t event, int priority); 161 int (*event) (struct pcmcia_socket *s, event_t event, int priority);
162 int (*resources_done) (struct pcmcia_socket *s); 162 void (*requery) (struct pcmcia_socket *s);
163 void (*replace_cis) (void);
164}; 163};
165 164
166int pccard_register_pcmcia(struct pcmcia_socket *s, struct pcmcia_callback *c); 165int pccard_register_pcmcia(struct pcmcia_socket *s, struct pcmcia_callback *c);