diff options
Diffstat (limited to 'include/pcmcia/cistpl.h')
-rw-r--r-- | include/pcmcia/cistpl.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/pcmcia/cistpl.h b/include/pcmcia/cistpl.h index 75a9d34c6346..7e8c2bcf11a7 100644 --- a/include/pcmcia/cistpl.h +++ b/include/pcmcia/cistpl.h | |||
@@ -580,8 +580,8 @@ typedef struct cisinfo_t { | |||
580 | 580 | ||
581 | #define CISTPL_MAX_CIS_SIZE 0x200 | 581 | #define CISTPL_MAX_CIS_SIZE 0x200 |
582 | 582 | ||
583 | int pcmcia_replace_cis(struct pcmcia_socket *s, | 583 | #ifdef __KERNEL__ |
584 | const u8 *data, const size_t len); | 584 | struct pcmcia_socket; |
585 | 585 | ||
586 | /* don't use outside of PCMCIA core yet */ | 586 | /* don't use outside of PCMCIA core yet */ |
587 | int pccard_get_next_tuple(struct pcmcia_socket *s, unsigned int func, tuple_t *tuple); | 587 | int pccard_get_next_tuple(struct pcmcia_socket *s, unsigned int func, tuple_t *tuple); |
@@ -615,4 +615,6 @@ int pcmcia_loop_config(struct pcmcia_device *p_dev, | |||
615 | void *priv_data), | 615 | void *priv_data), |
616 | void *priv_data); | 616 | void *priv_data); |
617 | 617 | ||
618 | #endif /* __KERNEL__ */ | ||
619 | |||
618 | #endif /* LINUX_CISTPL_H */ | 620 | #endif /* LINUX_CISTPL_H */ |