cdev: allow to open a struct cdev
cdev_open() opens a cdev by name. This introduces cdev_do_open which
allows to open a cdev when the cdev is already found by other means.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent bec70b3 commit 2672c906a4b83cd2aef1ddc0b9d2ec54b89eba3d
@Sascha Hauer Sascha Hauer authored on 10 Jul 2013
Showing 2 changed files
View
fs/devfs-core.c
View
include/driver.h