summaryrefslogtreecommitdiff
path: root/nvkm/engine/disp/conn.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2014-08-11 13:56:56 +1000
committerBen Skeggs <bskeggs@redhat.com>2014-10-02 13:25:42 +1000
commita9b6773c64335c9f5ca4f69202877762ebe43ce6 (patch)
tree55abac08cbe53ea87e6ccb662b8828b0ab215eaa /nvkm/engine/disp/conn.c
parent7ee3e50e80366a9c8ef1f2ad046d5113f11638bc (diff)
downloadnouveau-a9b6773c64335c9f5ca4f69202877762ebe43ce6.tar.gz
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 'nvkm/engine/disp/conn.c')
-rw-r--r--nvkm/engine/disp/conn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nvkm/engine/disp/conn.c b/nvkm/engine/disp/conn.c
index 3d1070228..1496b567d 100644
--- a/nvkm/engine/disp/conn.c
+++ b/nvkm/engine/disp/conn.c
@@ -126,8 +126,8 @@ nvkm_connector_create_(struct nouveau_object *parent,
return 0;
}
- ret = nvkm_notify_init(&gpio->event, nvkm_connector_hpd, true,
- &(struct nvkm_gpio_ntfy_req) {
+ ret = nvkm_notify_init(NULL, &gpio->event, nvkm_connector_hpd,
+ true, &(struct nvkm_gpio_ntfy_req) {
.mask = NVKM_GPIO_TOGGLED,
.line = func.line,
},