snd_soc_component_to_platform(9)

snd_soc_component_to_platform9

Casts a component to the platform it is embedded in

Usage

struct snd_soc_platform * snd_soc_component_to_platform(struct snd_soc_component * component);

Arguments

component

The component to cast to a platform

Overview

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

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.