drm/nouveau/drm/nouveau: tegra: Call nouveau_drm_device_init()
authorThierry Reding <treding@nvidia.com>
Fri, 23 Nov 2018 12:11:51 +0000 (13:11 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 11 Dec 2018 04:55:28 +0000 (14:55 +1000)
commit4ac0a807da6f79d5f2a65f991030aee503fece3a
tree40cf3aff61db742ac460ddf20a1ac5f23199f6c5
parent74a07c0a59fa372b069d879971ba4d9e341979cf
drm/nouveau/drm/nouveau: tegra: Call nouveau_drm_device_init()

As part of commit cfea88a4d866 ("drm/nouveau: Start using new drm_dev
initialization helpers"), the initialization of the Nouveau DRM device
was reworked and along the way the platform driver initialization was
left incomplete. Add a call to nouveau_drm_device_init() to make sure
all of the structures are properly initialized.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_drm.c