mirror of
https://github.com/torvalds/linux.git
synced 2026-04-30 12:32:31 -04:00
drm/nouveau/dma: switch to instanced constructor
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Reviewed-by: Lyude Paul <lyude@redhat.com>
This commit is contained in:
@@ -9,8 +9,8 @@ struct nvkm_dmaobj_func {
|
||||
struct nvkm_gpuobj **);
|
||||
};
|
||||
|
||||
int nvkm_dma_new_(const struct nvkm_dma_func *, struct nvkm_device *,
|
||||
int index, struct nvkm_dma **);
|
||||
int nvkm_dma_new_(const struct nvkm_dma_func *, struct nvkm_device *, enum nvkm_subdev_type, int,
|
||||
struct nvkm_dma **);
|
||||
|
||||
struct nvkm_dma_func {
|
||||
int (*class_new)(struct nvkm_dma *, const struct nvkm_oclass *,
|
||||
|
||||
Reference in New Issue
Block a user