diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2006-03-01 18:02:33 -0500 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2006-03-31 10:15:52 -0500 |
commit | 8661bb5b4af1849c1f5a4e80c4e275fd13c155d6 (patch) | |
tree | ad99d85ea8d6f5c4c99b93f869bfd412994fb4ee /include/pcmcia | |
parent | 50db3fdbbc98260fb538c1cc3f8cc597ba7bffe7 (diff) |
[PATCH] pcmcia: default suspend and resume handling
In all but one case, the suspend and resume functions of PCMCIA drivers
contain mostly of calls to pcmcia_release_configuration() and
pcmcia_request_configuration(). Therefore, move this code out of the
drivers and into the core.
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'include/pcmcia')
-rw-r--r-- | include/pcmcia/ds.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/pcmcia/ds.h b/include/pcmcia/ds.h index ce76ab587df6..8a6a95ea26ec 100644 --- a/include/pcmcia/ds.h +++ b/include/pcmcia/ds.h | |||
@@ -118,8 +118,7 @@ typedef struct dev_link_t { | |||
118 | /* Flags for device state */ | 118 | /* Flags for device state */ |
119 | #define DEV_PRESENT 0x01 | 119 | #define DEV_PRESENT 0x01 |
120 | #define DEV_CONFIG 0x02 | 120 | #define DEV_CONFIG 0x02 |
121 | #define DEV_STALE_CONFIG 0x04 /* release on close */ | 121 | #define DEV_SUSPEND_NORELEASE 0x04 |
122 | #define DEV_STALE_LINK 0x08 /* detach on release */ | ||
123 | #define DEV_CONFIG_PENDING 0x10 | 122 | #define DEV_CONFIG_PENDING 0x10 |
124 | #define DEV_RELEASE_PENDING 0x20 | 123 | #define DEV_RELEASE_PENDING 0x20 |
125 | #define DEV_SUSPEND 0x40 | 124 | #define DEV_SUSPEND 0x40 |