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:
parent
9a0de43e56
commit
bd2d09ddc3
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user