diff options
author | Lucas Stach <dev@lynxeye.de> | 2012-12-19 16:38:53 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-12-29 23:01:32 -0500 |
commit | 4026bfb39a3e63e32b3c4a648bb1ac1fd8c6b162 (patch) | |
tree | bff6d6da10564ecfbc3c132d0598fce1ee419f54 /drivers/gpu | |
parent | 4049508988a6ad03f51c33bf035bd9b603454830 (diff) |
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>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/tegra/host1x.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/host1x.c b/drivers/gpu/drm/tegra/host1x.c index bdb97a564d82..5d17b113a6fc 100644 --- a/drivers/gpu/drm/tegra/host1x.c +++ b/drivers/gpu/drm/tegra/host1x.c | |||
@@ -239,6 +239,8 @@ int host1x_register_client(struct host1x *host1x, struct host1x_client *client) | |||
239 | } | 239 | } |
240 | } | 240 | } |
241 | 241 | ||
242 | client->host1x = host1x; | ||
243 | |||
242 | return 0; | 244 | return 0; |
243 | } | 245 | } |
244 | 246 | ||