snd_soc_component_to_platform
Prev | ASoC Core API | Next

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

Prev | Up | Next
snd_soc_component_to_codec | Home | snd_soc_dapm_to_component