diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-08-31 09:55:58 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-08-31 09:55:58 -0400 |
commit | 272433e088f843dc4dd5a5ad38dd68b9a93dcebf (patch) | |
tree | 1d0a5563b7241f215fe0c472407beec3ee68b47a /include/pcmcia/cistpl.h | |
parent | 2f3061eb1086f98990d6495b8c63a1b83f2f59aa (diff) |
pcmcia: cistpl header cleanup
16-bit PCMCIA device handling function definitions are moved to ds.h.
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'include/pcmcia/cistpl.h')
-rw-r--r-- | include/pcmcia/cistpl.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/include/pcmcia/cistpl.h b/include/pcmcia/cistpl.h index 353abe74be74..026323bc47af 100644 --- a/include/pcmcia/cistpl.h +++ b/include/pcmcia/cistpl.h | |||
@@ -580,34 +580,4 @@ typedef struct cisinfo_t { | |||
580 | 580 | ||
581 | #define CISTPL_MAX_CIS_SIZE 0x200 | 581 | #define CISTPL_MAX_CIS_SIZE 0x200 |
582 | 582 | ||
583 | #ifdef __KERNEL__ | ||
584 | struct pcmcia_socket; | ||
585 | |||
586 | int pcmcia_parse_tuple(tuple_t *tuple, cisparse_t *parse); | ||
587 | |||
588 | /* don't use outside of PCMCIA core yet */ | ||
589 | int pccard_get_next_tuple(struct pcmcia_socket *s, unsigned int func, tuple_t *tuple); | ||
590 | int pccard_get_first_tuple(struct pcmcia_socket *s, unsigned int function, tuple_t *tuple); | ||
591 | int pccard_get_tuple_data(struct pcmcia_socket *s, tuple_t *tuple); | ||
592 | |||
593 | /* ... but use these wrappers instead */ | ||
594 | #define pcmcia_get_first_tuple(p_dev, tuple) \ | ||
595 | pccard_get_first_tuple(p_dev->socket, p_dev->func, tuple) | ||
596 | |||
597 | #define pcmcia_get_next_tuple(p_dev, tuple) \ | ||
598 | pccard_get_next_tuple(p_dev->socket, p_dev->func, tuple) | ||
599 | |||
600 | #define pcmcia_get_tuple_data(p_dev, tuple) \ | ||
601 | pccard_get_tuple_data(p_dev->socket, tuple) | ||
602 | |||
603 | int pcmcia_loop_config(struct pcmcia_device *p_dev, | ||
604 | int (*conf_check) (struct pcmcia_device *p_dev, | ||
605 | cistpl_cftable_entry_t *cf, | ||
606 | cistpl_cftable_entry_t *dflt, | ||
607 | unsigned int vcc, | ||
608 | void *priv_data), | ||
609 | void *priv_data); | ||
610 | |||
611 | #endif /* __KERNEL__ */ | ||
612 | |||
613 | #endif /* LINUX_CISTPL_H */ | 583 | #endif /* LINUX_CISTPL_H */ |