Commit 1f5b7104 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 8a4d8400
......@@ -665,6 +665,8 @@ int ft_zio_init(struct fmctdc_dev *ft)
/* Mandatory fields */
ft->hwzdev->owner = THIS_MODULE;
ft->hwzdev->priv_d = ft;
ft->hwzdev->head.dev.parent = &ft->pdev->dev;
dev_id = ft->pdev->id;
......
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