diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2006-01-06 00:02:03 +0100 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2006-01-06 00:02:03 +0100 |
commit | 8e9e793d68fcda6cc84c18cedf85ca0f91d801a8 (patch) | |
tree | 3dcceaaa676f1221e532e24106bb661143733eaf /drivers/pcmcia/cs_internal.h | |
parent | [PATCH] pcmcia: new suspend core (diff) | |
download | linux-8e9e793d68fcda6cc84c18cedf85ca0f91d801a8.tar.xz linux-8e9e793d68fcda6cc84c18cedf85ca0f91d801a8.zip |
[PATCH] pcmcia: merge suspend into device model
Merge the suspend and resume methods for 16-bit PCMCIA cards into the
device model -- for both runtime power management and suspend to ram/disk.
Bugfix in ds.c by Richard Purdie
Signed-Off-By: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/cs_internal.h')
-rw-r--r-- | drivers/pcmcia/cs_internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pcmcia/cs_internal.h b/drivers/pcmcia/cs_internal.h index 634426b78f2c..7b37eba35bf1 100644 --- a/drivers/pcmcia/cs_internal.h +++ b/drivers/pcmcia/cs_internal.h @@ -143,6 +143,8 @@ struct pcmcia_callback{ struct module *owner; int (*event) (struct pcmcia_socket *s, event_t event, int priority); void (*requery) (struct pcmcia_socket *s); + int (*suspend) (struct pcmcia_socket *s); + int (*resume) (struct pcmcia_socket *s); }; int pccard_register_pcmcia(struct pcmcia_socket *s, struct pcmcia_callback *c); |