---
name: "devm_snd_soc_register_component"
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/devm_snd_soc_register_component"
---

# devm\_snd\_soc\_register\_component(9)

resource managed component registration

## NAME

devm\_snd\_soc\_register\_component - resource managed component registration

## SYNOPSIS

**int devm\_snd\_soc\_register\_component(struct device \*** *dev***, const struct snd\_soc\_component\_driver \*** *cmpnt\_drv***, struct snd\_soc\_dai\_driver \*** *dai\_drv***, int** *num\_dai***);**

## ARGUMENTS

*dev*

Device used to manage component

*cmpnt\_drv*

Component driver

*dai\_drv*

DAI driver

*num\_dai*

Number of DAIs to register

## DESCRIPTION

Register a component with automatic unregistration when the device is unregistered.

## COPYRIGHT
