table of contents
other versions
__UNREGISTER_CHRDEV(9) | Char devices | __UNREGISTER_CHRDEV(9) |
NAME¶
__unregister_chrdev - unregister and destroy a cdev
SYNOPSIS¶
void __unregister_chrdev(unsigned int major, unsigned int baseminor, unsigned int count, const char * name);
ARGUMENTS¶
unsigned int major
major device number
unsigned int baseminor
first of the range of minor numbers
unsigned int count
the number of minor numbers this cdev is occupying
const char * name
name of this range of devices
DESCRIPTION¶
Unregister and destroy the cdev occupying the region described by major, baseminor and count. This function undoes what __register_chrdev did.
COPYRIGHT¶
June 2017 | Kernel Hackers Manual 4.11 |