device_add_disk — add partitioning information to kernel list
voiddevice_add_disk(
)
struct device * parent
parent device for the disk
struct gendisk * disk
per-device partitioning information
This function registers the partitioning information indisk with the kernel.
disk
FIXME: error handling