DEVICE_ADD_DISK(9)

NAME
device_add_disk - add partitioning information to kernel list

SYNOPSIS

void device_add_disk(struct device * parent, struct gendisk * disk);

ARGUMENTS

parent
    parent device for the disk

disk
    per-device partitioning information

DESCRIPTION

This function registers the partitioning information in disk with the kernel.

FIXME: error handling

COPYRIGHT