aboutsummaryrefslogtreecommitdiffstats
path: root/include/pcmcia/ds.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pcmcia/ds.h')
-rw-r--r--include/pcmcia/ds.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/pcmcia/ds.h b/include/pcmcia/ds.h
index cb8b6e6ce66c..020055199008 100644
--- a/include/pcmcia/ds.h
+++ b/include/pcmcia/ds.h
@@ -137,6 +137,10 @@ struct pcmcia_driver {
137 int (*event) (event_t event, int priority, 137 int (*event) (event_t event, int priority,
138 event_callback_args_t *); 138 event_callback_args_t *);
139 void (*detach)(dev_link_t *); 139 void (*detach)(dev_link_t *);
140
141 int (*suspend) (struct pcmcia_device *dev);
142 int (*resume) (struct pcmcia_device *dev);
143
140 struct module *owner; 144 struct module *owner;
141 struct pcmcia_device_id *id_table; 145 struct pcmcia_device_id *id_table;
142 struct device_driver drv; 146 struct device_driver drv;
@@ -193,6 +197,8 @@ struct pcmcia_device {
193#define handle_to_pdev(handle) (handle) 197#define handle_to_pdev(handle) (handle)
194#define handle_to_dev(handle) (handle->dev) 198#define handle_to_dev(handle) (handle->dev)
195 199
200#define dev_to_instance(dev) (dev->instance)
201
196/* error reporting */ 202/* error reporting */
197void cs_error(client_handle_t handle, int func, int ret); 203void cs_error(client_handle_t handle, int func, int ret);
198 204