---
name: "register_sound_special_device"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/register_sound_special_device"
---

# register\_sound\_special\_device(9)

register a special sound node

## 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.

## RETURN

The allocated number is returned on success. On failure, a negative error code is returned.

## COPYRIGHT
