X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=include%2Fasm-sparc64%2Fparport.h;h=8116e8f6062cad953e43ba8b7d0dc07743796079;hb=ad7ad57c6127042c411353dddb723765964815db;hp=600afe5ae2e3b21955a24ff081f949b6b12e2ded;hpb=c7f439b99efbea74c70a5531f92566db5a6731f2;p=safe%2Fjmp%2Flinux-2.6 diff --git a/include/asm-sparc64/parport.h b/include/asm-sparc64/parport.h index 600afe5..8116e8f 100644 --- a/include/asm-sparc64/parport.h +++ b/include/asm-sparc64/parport.h @@ -117,7 +117,7 @@ static int __devinit ecpp_probe(struct of_device *op, const struct of_device_id if (!strcmp(parent->name, "dma")) { p = parport_pc_probe_port(base, base + 0x400, op->irqs[0], PARPORT_DMA_NOFIFO, - op->dev.parent); + op->dev.parent->parent); if (!p) return -ENOMEM; dev_set_drvdata(&op->dev, p);