'\" t .\" Title: snd_soc_add_platform_controls .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: ASoC .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "SND_SOC_ADD_PLATFORM" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "ASoC" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" snd_soc_add_platform_controls \- add an array of controls to a platform\&. Convenience function to add a list of controls\&. .SH "SYNOPSIS" .HP \w'int\ snd_soc_add_platform_controls('u .BI "int snd_soc_add_platform_controls(struct\ snd_soc_platform\ *\ " "platform" ", const\ struct\ snd_kcontrol_new\ *\ " "controls" ", unsigned\ int\ " "num_controls" ");" .SH "ARGUMENTS" .PP \fIplatform\fR .RS 4 platform to add controls to .RE .PP \fIcontrols\fR .RS 4 array of controls to add .RE .PP \fInum_controls\fR .RS 4 number of elements in the array .RE .SH "DESCRIPTION" .PP Return 0 for success, else error\&. .SH "COPYRIGHT" .br