Name
devfs_unregister_blkdev -- Optionally unregister a conventional block driver.
Synopsis
int devfs_unregister_blkdev
(unsigned int major, const char * name);
Arguments
- major
The major number for the driver.
- name
The name of the driver (as seen in /proc/devices).
Description
This function will unregister a block driver provided the "devfs=only"
option was not provided at boot time.
Returns 0 on success, else a negative error code on failure.