diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2020-12-04 12:40:10 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2021-02-11 11:49:55 +1000 |
commit | 9b70cd54a13e626ae830ab2972c1dadcd6347fb2 (patch) | |
tree | a2a449b3d763c9d27d07cf23c4b0be24a45c6e36 /drivers/gpu/drm/nouveau/include/nvkm/core/device.h | |
parent | 0a7bff10aed6231a0a5ad9cfc19eab51d4ce1d0a (diff) | |
download | linux-stable-9b70cd54a13e626ae830ab2972c1dadcd6347fb2.tar.gz linux-stable-9b70cd54a13e626ae830ab2972c1dadcd6347fb2.tar.bz2 linux-stable-9b70cd54a13e626ae830ab2972c1dadcd6347fb2.zip |
drm/nouveau/pci: switch to instanced constructor
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/include/nvkm/core/device.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/include/nvkm/core/device.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/include/nvkm/core/device.h b/drivers/gpu/drm/nouveau/include/nvkm/core/device.h index 48d832c6f64f..a240d2c6ad9a 100644 --- a/drivers/gpu/drm/nouveau/include/nvkm/core/device.h +++ b/drivers/gpu/drm/nouveau/include/nvkm/core/device.h @@ -60,7 +60,6 @@ struct nvkm_device { struct notifier_block nb; } acpi; - struct nvkm_pci *pci; struct nvkm_pmu *pmu; struct nvkm_therm *therm; struct nvkm_timer *timer; @@ -129,7 +128,6 @@ struct nvkm_device_chip { #include <core/layout.h> #undef NVKM_LAYOUT_INST #undef NVKM_LAYOUT_ONCE - int (*pci )(struct nvkm_device *, int idx, struct nvkm_pci **); int (*pmu )(struct nvkm_device *, int idx, struct nvkm_pmu **); int (*therm )(struct nvkm_device *, int idx, struct nvkm_therm **); int (*timer )(struct nvkm_device *, int idx, struct nvkm_timer **); |