diff options
Diffstat (limited to 'drivers/pcmcia/rsrc_mgr.c')
-rw-r--r-- | drivers/pcmcia/rsrc_mgr.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/pcmcia/rsrc_mgr.c b/drivers/pcmcia/rsrc_mgr.c index e5a33121de77..81dfc2cac2b4 100644 --- a/drivers/pcmcia/rsrc_mgr.c +++ b/drivers/pcmcia/rsrc_mgr.c | |||
@@ -21,6 +21,8 @@ | |||
21 | #include "cs_internal.h" | 21 | #include "cs_internal.h" |
22 | 22 | ||
23 | 23 | ||
24 | #ifdef CONFIG_PCMCIA_IOCTL | ||
25 | |||
24 | #ifdef CONFIG_PCMCIA_PROBE | 26 | #ifdef CONFIG_PCMCIA_PROBE |
25 | 27 | ||
26 | static int adjust_irq(struct pcmcia_socket *s, adjust_t *adj) | 28 | static int adjust_irq(struct pcmcia_socket *s, adjust_t *adj) |
@@ -97,6 +99,8 @@ int pcmcia_adjust_resource_info(adjust_t *adj) | |||
97 | } | 99 | } |
98 | EXPORT_SYMBOL(pcmcia_adjust_resource_info); | 100 | EXPORT_SYMBOL(pcmcia_adjust_resource_info); |
99 | 101 | ||
102 | #endif | ||
103 | |||
100 | int pcmcia_validate_mem(struct pcmcia_socket *s) | 104 | int pcmcia_validate_mem(struct pcmcia_socket *s) |
101 | { | 105 | { |
102 | if (s->resource_ops->validate_mem) | 106 | if (s->resource_ops->validate_mem) |