Message ID | 4cec382d16edb64c3604d20f74c2e784479dc8c1.1613989288.git.sean@mess.org |
---|---|
State | Accepted |
Commit | 0b2c7dcff345c32795164fc596d22542718c1600 |
Headers | show |
Series | media: ite-cir driver cleanups | expand |
diff --git a/drivers/media/rc/ite-cir.c b/drivers/media/rc/ite-cir.c index 0c6229592e13..397e317d9726 100644 --- a/drivers/media/rc/ite-cir.c +++ b/drivers/media/rc/ite-cir.c @@ -1544,6 +1544,7 @@ static int ite_probe(struct pnp_dev *pdev, const struct pnp_device_id /* set up ir-core props */ rdev->priv = itdev; + rdev->dev.parent = &pdev->dev; rdev->allowed_protocols = RC_PROTO_BIT_ALL_IR_DECODER; rdev->open = ite_open; rdev->close = ite_close;
This ensure that the rc device shows up correctly in sysfs. Signed-off-by: Sean Young <sean@mess.org> --- drivers/media/rc/ite-cir.c | 1 + 1 file changed, 1 insertion(+)