other versions
REGISTER_SOUND_SPECI(9) | Sound Devices | REGISTER_SOUND_SPECI(9) |
NAME¶
register_sound_special_device - register a special sound nodeSYNOPSIS¶
int
register_sound_special_device(const struct file_operations * fops,
int unit,
struct device * dev);
ARGUMENTS¶
fopsFile operations for the driver
unit
Unit number to allocate
dev
device pointer
DESCRIPTION¶
Allocate a special sound device by minor number from the sound subsystem.RETURN¶
The allocated number is returned on success. On failure, a negative error code is returned.COPYRIGHT¶
January 2017 | Kernel Hackers Manual 4.8. |