diff options
Diffstat (limited to 'drivers/pcmcia/rsrc_mgr.c')
-rw-r--r-- | drivers/pcmcia/rsrc_mgr.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/pcmcia/rsrc_mgr.c b/drivers/pcmcia/rsrc_mgr.c index 514609369836..81dfc2cac2b4 100644 --- a/drivers/pcmcia/rsrc_mgr.c +++ b/drivers/pcmcia/rsrc_mgr.c | |||
@@ -12,7 +12,6 @@ | |||
12 | * (C) 1999 David A. Hinds | 12 | * (C) 1999 David A. Hinds |
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include <linux/config.h> | ||
16 | #include <linux/module.h> | 15 | #include <linux/module.h> |
17 | #include <linux/kernel.h> | 16 | #include <linux/kernel.h> |
18 | 17 | ||
@@ -22,6 +21,8 @@ | |||
22 | #include "cs_internal.h" | 21 | #include "cs_internal.h" |
23 | 22 | ||
24 | 23 | ||
24 | #ifdef CONFIG_PCMCIA_IOCTL | ||
25 | |||
25 | #ifdef CONFIG_PCMCIA_PROBE | 26 | #ifdef CONFIG_PCMCIA_PROBE |
26 | 27 | ||
27 | static int adjust_irq(struct pcmcia_socket *s, adjust_t *adj) | 28 | static int adjust_irq(struct pcmcia_socket *s, adjust_t *adj) |
@@ -98,6 +99,8 @@ int pcmcia_adjust_resource_info(adjust_t *adj) | |||
98 | } | 99 | } |
99 | EXPORT_SYMBOL(pcmcia_adjust_resource_info); | 100 | EXPORT_SYMBOL(pcmcia_adjust_resource_info); |
100 | 101 | ||
102 | #endif | ||
103 | |||
101 | int pcmcia_validate_mem(struct pcmcia_socket *s) | 104 | int pcmcia_validate_mem(struct pcmcia_socket *s) |
102 | { | 105 | { |
103 | if (s->resource_ops->validate_mem) | 106 | if (s->resource_ops->validate_mem) |