drm/nouveau: chan: use struct nvif_mclass
[platform/kernel/linux-rpi.git] / drivers / gpu / drm / nouveau / nouveau_chan.c
index bb3d6e5..f44d19a 100644 (file)
@@ -257,10 +257,7 @@ static int
 nouveau_channel_ctor(struct nouveau_drm *drm, struct nvif_device *device, bool priv, u64 runm,
                     struct nouveau_channel **pchan)
 {
-       static const struct {
-               s32 oclass;
-               int version;
-       } hosts[] = {
+       const struct nvif_mclass hosts[] = {
                {  AMPERE_CHANNEL_GPFIFO_B, 0 },
                {  AMPERE_CHANNEL_GPFIFO_A, 0 },
                {  TURING_CHANNEL_GPFIFO_A, 0 },