]> err.no Git - linux-2.6/blobdiff - include/asm-sparc64/parport.h
[SPARC]: Implement fb_is_primary_device().
[linux-2.6] / include / asm-sparc64 / parport.h
index 6340a5253a347df28c3d7b0223fca8f791d51aa0..23cc63f049a896769f4ed62e8d6ef8044f57d817 100644 (file)
@@ -145,7 +145,7 @@ static int parport_isa_probe(int count)
                         */
                        if (parport_pc_probe_port(base, base + 0x400,
                                                  child->irq, PARPORT_DMA_NOFIFO,
-                                                 child->bus->self))
+                                                 &child->bus->self->dev))
                                count++;
                }
        }
@@ -199,7 +199,8 @@ static int parport_pc_find_nonpci_ports (int autoirq, int autodma)
 
                                if (parport_pc_probe_port(base, base + 0x400,
                                                          edev->irqs[0],
-                                                         count, ebus->self))
+                                                         count,
+                                                         &ebus->self->dev))
                                        count++;
                        }
                }