---
name: "snd_device_register"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/snd_device_register"
---

# snd\_device\_register(9)

register the device

## NAME

snd\_device\_register - register the device

## SYNOPSIS

**int snd\_device\_register(struct snd\_card \*** *card***, void \*** *device\_data***);**

## ARGUMENTS

*card*

the card instance

*device\_data*

the data pointer to register

## DESCRIPTION

Registers the device which was already created via **snd\_device\_new**. Usually this is called from **snd\_card\_register**, but it can be called later if any new devices are created after invocation of **snd\_card\_register**.

## RETURN

Zero if successful, or a negative error code on failure or if the device not found.

## COPYRIGHT
