]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
commit610ad5064cb90aec35f5837bbde3d316fe02aca7
tree7c254ffa06ebd33b5a5b40dc28147eeba615d374
parentb54f2863a26d2b7c002d96abcde149940733c8e6
UIO: hold a reference to the device's owner while the device is open

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