diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c index f7beb6eb40c714ae71309807b94b55a643501a9f..a673e5b6a2e0b7500cdf6f101b5467f4a8e58da2 100644 --- a/drivers/uio/uio.c +++ b/drivers/uio/uio.c @@ -847,7 +847,7 @@ int __uio_register_device(struct module *owner, info->uio_dev = idev; if (info->irq && (info->irq != UIO_IRQ_CUSTOM)) { - ret = devm_request_irq(parent, info->irq, uio_interrupt, + ret = devm_request_irq(idev->dev, info->irq, uio_interrupt, info->irq_flags, info->name, idev); if (ret) goto err_request_irq;