]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitee6b0992e5dc56f89e79ff8b64bc7c2304e2b9e2
treeb1a6cd444a98de51c47de107d01b5463de9e8c80
parentc26c84b77e314b001365681d28750f3178f35a1d
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