diff options
Diffstat (limited to 'drivers/pcmcia/rsrc_mgr.c')
-rw-r--r-- | drivers/pcmcia/rsrc_mgr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pcmcia/rsrc_mgr.c b/drivers/pcmcia/rsrc_mgr.c index b433a7995651..4e80421fd908 100644 --- a/drivers/pcmcia/rsrc_mgr.c +++ b/drivers/pcmcia/rsrc_mgr.c | |||
@@ -47,11 +47,12 @@ struct resource *pcmcia_make_resource(unsigned long start, unsigned long end, | |||
47 | 47 | ||
48 | static int static_find_io(struct pcmcia_socket *s, unsigned int attr, | 48 | static int static_find_io(struct pcmcia_socket *s, unsigned int attr, |
49 | unsigned int *base, unsigned int num, | 49 | unsigned int *base, unsigned int num, |
50 | unsigned int align) | 50 | unsigned int align, struct resource **parent) |
51 | { | 51 | { |
52 | if (!s->io_offset) | 52 | if (!s->io_offset) |
53 | return -EINVAL; | 53 | return -EINVAL; |
54 | *base = s->io_offset | (*base & 0x0fff); | 54 | *base = s->io_offset | (*base & 0x0fff); |
55 | *parent = NULL; | ||
55 | 56 | ||
56 | return 0; | 57 | return 0; |
57 | } | 58 | } |