]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/media/video/ir-kbd-gpio.c
[PATCH] v4l: make the input event device for IR matchable by udev rules.
[karo-tx-linux.git] / drivers / media / video / ir-kbd-gpio.c
index eddadc76e11d65cc26b0ba2db93946a0d59c9d2d..cf292da8fdd5752066411011319570b101b34c02 100644 (file)
@@ -353,6 +353,7 @@ static int ir_probe(struct device *dev)
                ir->input.id.vendor  = sub->core->pci->vendor;
                ir->input.id.product = sub->core->pci->device;
        }
+       ir->input.dev = &sub->core->pci->dev;
 
        if (ir->polling) {
                INIT_WORK(&ir->work, ir_work, ir);