UIO: hold a reference to the device's owner while the device is open
authorUwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Fri, 11 Apr 2008 09:07:39 +0000 (11:07 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 20 Apr 2008 02:10:18 +0000 (19:10 -0700)
Otherwise the device might just disappear while /dev/uioX is being used
which results in an Oops.

Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Signed-off-by: Hans J Koch <hjk@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/uio/uio.c

Simple merge