drm/nouveau/pwr: make nouveau_pwr_pgob() non-static
authorVince Hsu <vinceh@nvidia.com>
Mon, 22 Dec 2014 09:11:38 +0000 (17:11 +0800)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 22 Jan 2015 02:15:03 +0000 (12:15 +1000)
commit47e7df39d9fb74fa11bd4b4453fc34d231b2169c
treeb1a6cd444a98de51c47de107d01b5463de9e8c80
parentf8a8546194d7794c309d2d8114f457f4f921afad
drm/nouveau/pwr: make nouveau_pwr_pgob() non-static

The platform device does not use the common nouveau_pwr_init() to initialize
the PWR, but it does need the .pgob() be assigned to avoid NULL pointer
dereference in graph/nve4.c.

Signed-off-by: Vince Hsu <vinceh@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/pwr/base.c
drivers/gpu/drm/nouveau/core/subdev/pwr/priv.h