Index: linux-2.6.22-rc/drivers/uio/uio.c =================================================================== --- linux-2.6.22-rc.orig/drivers/uio/uio.c 2007-04-28 20:01:02.000000000 +0200 +++ linux-2.6.22-rc/drivers/uio/uio.c 2007-04-28 20:15:00.000000000 +0200 @@ -633,6 +633,8 @@ if (ret) goto err_uio_dev_add_attributes; + info->uio_dev = idev; + if (idev->info->irq >= 0) { ret = request_irq(idev->info->irq, uio_interrupt, idev->info->irq_flags, idev->info->name, idev); @@ -640,7 +642,6 @@ goto err_request_irq; } - info->uio_dev = idev; return 0; err_request_irq: