9
0
Fork 0

devfs: add missing remove function

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2009-06-10 21:11:45 +02:00
parent 4adfb9cf54
commit 8fe9c1fa46
1 changed files with 5 additions and 0 deletions

View File

@ -242,6 +242,10 @@ static int devfs_probe(struct device_d *dev)
return 0;
}
static void devfs_delete(struct device_d *dev)
{
}
static struct fs_driver_d devfs_driver = {
.type = FS_TYPE_DEVFS,
.read = devfs_read,
@ -262,6 +266,7 @@ static struct fs_driver_d devfs_driver = {
.drv = {
.type = DEVICE_TYPE_FS,
.probe = devfs_probe,
.remove = devfs_delete,
.name = "devfs",
.type_data = &devfs_driver,
}