Commit 1d46163a authored by Federico Vaga's avatar Federico Vaga

sw:drv: add parent to hw ZIO device

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent a5fa7fd7
......@@ -696,6 +696,7 @@ int fa_zio_init(struct fa_dev *fa)
/* Mandatory fields */
fa->hwzdev->owner = THIS_MODULE;
fa->hwzdev->priv_d = fa;
fa->hwzdev->head.dev.parent = &fa->pdev->dev;
/* Register the hardware zio_device */
err = zio_register_device(fa->hwzdev, "adc-100m14b",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment