X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Fparport%2Fparport_sunbpp.c;h=d27019c2f860ab3a275575cc149687621b04663e;hb=4ff4275b24fdcca189b33f9a73fe7abef1dc84bc;hp=400bb90084cf479b39f1fc1f495111e76c7e0273;hpb=eaf60d6924759eb2a249c0b568533a90c238061b;p=mv-sheeva.git diff --git a/drivers/parport/parport_sunbpp.c b/drivers/parport/parport_sunbpp.c index 400bb90084c..d27019c2f86 100644 --- a/drivers/parport/parport_sunbpp.c +++ b/drivers/parport/parport_sunbpp.c @@ -322,6 +322,7 @@ static int __devinit init_one_port(struct sbus_dev *sdev) goto out_free_ops; p->size = size; + p->dev = &sdev->ofdev.dev; if ((err = request_irq(p->irq, parport_sunbpp_interrupt, IRQF_SHARED, p->name, p)) != 0) {