aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/ir-kbd-gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/ir-kbd-gpio.c')
-rw-r--r--drivers/media/video/ir-kbd-gpio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/ir-kbd-gpio.c b/drivers/media/video/ir-kbd-gpio.c
index eddadc76e11d..cf292da8fdd5 100644
--- a/drivers/media/video/ir-kbd-gpio.c
+++ b/drivers/media/video/ir-kbd-gpio.c
@@ -353,6 +353,7 @@ static int ir_probe(struct device *dev)
353 ir->input.id.vendor = sub->core->pci->vendor; 353 ir->input.id.vendor = sub->core->pci->vendor;
354 ir->input.id.product = sub->core->pci->device; 354 ir->input.id.product = sub->core->pci->device;
355 } 355 }
356 ir->input.dev = &sub->core->pci->dev;
356 357
357 if (ir->polling) { 358 if (ir->polling) {
358 INIT_WORK(&ir->work, ir_work, ir); 359 INIT_WORK(&ir->work, ir_work, ir);