drm/nouveau/pmu/gk20a: use nvkm_pmu_ctor()
authorAlexandre Courbot <acourbot@nvidia.com>
Tue, 13 Dec 2016 08:11:22 +0000 (17:11 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 17 Feb 2017 05:14:30 +0000 (15:14 +1000)
commitd8711c5a9cfd6b06d611a64a30ae3e98ef4e6962
treee4b43945b5d33660a0696022ac86890e962a4a8d
parent1e2115d8c0c0da62405400316f5499d909e479bc
drm/nouveau/pmu/gk20a: use nvkm_pmu_ctor()

Use the PMU constructor so that all base members (in particular the
falcon instance) are initialized properly.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c