pcmcia: insert PCMCIA device resources into resource tree
[deliverable/linux.git] / drivers / pcmcia / rsrc_mgr.c
index b433a7995651ada055b1daf452dae1660df73325..4e80421fd9084d02433aea7f1c0561edcd2c6192 100644 (file)
@@ -47,11 +47,12 @@ struct resource *pcmcia_make_resource(unsigned long start, unsigned long end,
 
 static int static_find_io(struct pcmcia_socket *s, unsigned int attr,
                        unsigned int *base, unsigned int num,
-                       unsigned int align)
+                       unsigned int align, struct resource **parent)
 {
        if (!s->io_offset)
                return -EINVAL;
        *base = s->io_offset | (*base & 0x0fff);
+       *parent = NULL;
 
        return 0;
 }
This page took 0.023254 seconds and 5 git commands to generate.