Commit 69ded74f authored by Federico Vaga's avatar Federico Vaga

drv: the virtual device points to the SPEC driver

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent dced93a3
......@@ -158,6 +158,8 @@ static int spec_probe(struct pci_dev *pdev,
err = device_register(&spec->dev);
if (err)
goto err_dev;
/* This virtual device is assciated with this driver */
spec->dev.driver = pdev->dev.driver;
err = spec_fpga_init(spec);
if (err)
......
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