diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2014-08-11 13:56:56 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-09-15 22:22:12 +1000 |
commit | 996f5a08235b27a7adcd01fe2b3f79e2f0f20ced (patch) | |
tree | d07e0d4086b8a02708eaeac2fcee4cd63229a798 /drivers/gpu/drm/nouveau/core/subdev/clock | |
parent | e94654e21d2a25ab331c91ad26a573dc7514f7b9 (diff) | |
download | linux-996f5a08235b27a7adcd01fe2b3f79e2f0f20ced.tar.bz2 |
drm/nouveau/core: pass related object into notify constructor
The event source types/index might need to be derived from it.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/subdev/clock')
-rw-r--r-- | drivers/gpu/drm/nouveau/core/subdev/clock/base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/core/subdev/clock/base.c b/drivers/gpu/drm/nouveau/core/subdev/clock/base.c index a276a711294a..e51b72d47129 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/clock/base.c +++ b/drivers/gpu/drm/nouveau/core/subdev/clock/base.c @@ -573,7 +573,7 @@ nouveau_clock_create_(struct nouveau_object *parent, clk->allow_reclock = allow_reclock; - ret = nvkm_notify_init(&device->event, nouveau_clock_pwrsrc, true, + ret = nvkm_notify_init(NULL, &device->event, nouveau_clock_pwrsrc, true, NULL, 0, 0, &clk->pwrsrc_ntfy); if (ret) return ret; |