Added empty implementations of the new partition publish/unpublish calls.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7970 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-06-15 15:32:22 +00:00
parent 9a0de43e56
commit bd2d09ddc3

View File

@ -1328,6 +1328,25 @@ pnp_driver_info gDeviceForDriversModule = {
// #pragma mark -
status_t
devfs_unpublish_partition(const char *path)
{
dprintf("unpublish partition: %s\n", path);
return B_OK;
}
status_t
devfs_publish_partition(const char *path, const partition_info *info)
{
if (info == NULL)
return B_BAD_VALUE;
dprintf("publish partition: %s (device \"%s\", size %Ld)\n", path, info->device, info->size);
return B_OK;
}
status_t
devfs_publish_device(const char *path, void *ident, device_hooks *ops)
{