diff options
Diffstat (limited to 'drivers/pcmcia/rsrc_mgr.c')
-rw-r--r-- | drivers/pcmcia/rsrc_mgr.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/drivers/pcmcia/rsrc_mgr.c b/drivers/pcmcia/rsrc_mgr.c index 81540c420bbd..cdd30c180066 100644 --- a/drivers/pcmcia/rsrc_mgr.c +++ b/drivers/pcmcia/rsrc_mgr.c | |||
@@ -21,26 +21,6 @@ | |||
21 | #include <pcmcia/cistpl.h> | 21 | #include <pcmcia/cistpl.h> |
22 | #include "cs_internal.h" | 22 | #include "cs_internal.h" |
23 | 23 | ||
24 | |||
25 | int pcmcia_validate_mem(struct pcmcia_socket *s) | ||
26 | { | ||
27 | if (s->resource_ops->validate_mem) | ||
28 | return s->resource_ops->validate_mem(s); | ||
29 | /* if there is no callback, we can assume that everything is OK */ | ||
30 | return 0; | ||
31 | } | ||
32 | EXPORT_SYMBOL(pcmcia_validate_mem); | ||
33 | |||
34 | struct resource *pcmcia_find_mem_region(u_long base, u_long num, u_long align, | ||
35 | int low, struct pcmcia_socket *s) | ||
36 | { | ||
37 | if (s->resource_ops->find_mem) | ||
38 | return s->resource_ops->find_mem(base, num, align, low, s); | ||
39 | return NULL; | ||
40 | } | ||
41 | EXPORT_SYMBOL(pcmcia_find_mem_region); | ||
42 | |||
43 | |||
44 | static int static_init(struct pcmcia_socket *s) | 24 | static int static_init(struct pcmcia_socket *s) |
45 | { | 25 | { |
46 | unsigned long flags; | 26 | unsigned long flags; |