diff options
Diffstat (limited to 'drm/nouveau/nvkm/subdev/bios/shadowacpi.c')
-rw-r--r-- | drm/nouveau/nvkm/subdev/bios/shadowacpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drm/nouveau/nvkm/subdev/bios/shadowacpi.c b/drm/nouveau/nvkm/subdev/bios/shadowacpi.c index 74604d4a7..468066817 100644 --- a/drm/nouveau/nvkm/subdev/bios/shadowacpi.c +++ b/drm/nouveau/nvkm/subdev/bios/shadowacpi.c @@ -88,7 +88,7 @@ acpi_read_slow(void *data, u32 offset, u32 length, struct nvkm_bios *bios) static void * acpi_init(struct nvkm_bios *bios, const char *name) { - if (!nouveau_acpi_rom_supported(nv_device(bios)->pdev)) + if (!nouveau_acpi_rom_supported(bios->subdev.device->pdev)) return ERR_PTR(-ENODEV); return NULL; } |