---
name: "snd_soc_component_to_platform"
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_soc_component_to_platform"
---

# snd\_soc\_component\_to\_platform(9)

Casts a component to the platform it is embedded in

## NAME

snd\_soc\_component\_to\_platform - Casts a component to the platform it is embedded in

## SYNOPSIS

**struct snd\_soc\_platform \* snd\_soc\_component\_to\_platform(struct snd\_soc\_component \*** *component***);**

## ARGUMENTS

*component*

The component to cast to a platform

## DESCRIPTION

This function must only be used on components that are known to be platforms. Otherwise the behavior is undefined.

## COPYRIGHT
