summaryrefslogtreecommitdiff
path: root/lib/null.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/null.c')
-rw-r--r--lib/null.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/null.c b/lib/null.c
index 73b9f33f3..5a7b7f9ae 100644
--- a/lib/null.c
+++ b/lib/null.c
@@ -56,7 +56,8 @@ null_init(const char *cfg, const char *dbg, bool init)
{
int ret = nvkm_device_new(&null_pci_dev, NVKM_BUS_PCI,
~0ULL, "0000:00:00.0", cfg, dbg,
- &null_device);
+ os_device_detect, os_device_mmio,
+ os_device_subdev, &null_device);
if (ret)
null_fini();
}