Forráskód Böngészése

drm: tegra: don't leave clients host1x member uninitialized

No real problem for now, as nothing is using this, but leaving it
unitialized is asking for trouble later on.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Lucas Stach 12 éve
szülő
commit
4026bfb39a
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      drivers/gpu/drm/tegra/host1x.c

+ 2 - 0
drivers/gpu/drm/tegra/host1x.c

@@ -239,6 +239,8 @@ int host1x_register_client(struct host1x *host1x, struct host1x_client *client)
 		}
 		}
 	}
 	}
 
 
+	client->host1x = host1x;
+
 	return 0;
 	return 0;
 }
 }