register_sound_special_device

Langue: en

Version: October 2010 (fedora - 01/12/10)

Section: 9 (Appels noyau Linux)

NAME

register_sound_special_device - register a special sound node

SYNOPSIS

int register_sound_special_device(const struct file_operations * fops, int unit, struct device * dev);

ARGUMENTS

fops

File 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. The allocated number is returned on success. On failure a negative error code is returned.