aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/parport
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/parport')
-rw-r--r--drivers/parport/parport_cs.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/drivers/parport/parport_cs.c b/drivers/parport/parport_cs.c
index 7edd7ef6c31f..5e12ed2f1b6e 100644
--- a/drivers/parport/parport_cs.c
+++ b/drivers/parport/parport_cs.c
@@ -280,27 +280,6 @@ void parport_cs_release(dev_link_t *link)
280 pcmcia_disable_device(link->handle); 280 pcmcia_disable_device(link->handle);
281} /* parport_cs_release */ 281} /* parport_cs_release */
282 282
283static int parport_suspend(struct pcmcia_device *dev)
284{
285 dev_link_t *link = dev_to_instance(dev);
286
287 link->state |= DEV_SUSPEND;
288 if (link->state & DEV_CONFIG)
289 pcmcia_release_configuration(link->handle);
290
291 return 0;
292}
293
294static int parport_resume(struct pcmcia_device *dev)
295{
296 dev_link_t *link = dev_to_instance(dev);
297
298 link->state &= ~DEV_SUSPEND;
299 if (DEV_OK(link))
300 pcmcia_request_configuration(link->handle, &link->conf);
301
302 return 0;
303}
304 283
305static struct pcmcia_device_id parport_ids[] = { 284static struct pcmcia_device_id parport_ids[] = {
306 PCMCIA_DEVICE_FUNC_ID(3), 285 PCMCIA_DEVICE_FUNC_ID(3),
@@ -317,8 +296,6 @@ static struct pcmcia_driver parport_cs_driver = {
317 .probe = parport_attach, 296 .probe = parport_attach,
318 .remove = parport_detach, 297 .remove = parport_detach,
319 .id_table = parport_ids, 298 .id_table = parport_ids,
320 .suspend = parport_suspend,
321 .resume = parport_resume,
322}; 299};
323 300
324static int __init init_parport_cs(void) 301static int __init init_parport_cs(void)