mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-05 13:30:00 -05:00
topology: more coding fixes
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
2b50b594dc
commit
780f17126a
6 changed files with 30 additions and 23 deletions
|
|
@ -107,7 +107,7 @@ void tplg_elem_free_list(struct list_head *base)
|
|||
}
|
||||
|
||||
struct tplg_elem *tplg_elem_lookup(struct list_head *base, const char* id,
|
||||
unsigned int type, int index)
|
||||
unsigned int type, int index)
|
||||
{
|
||||
struct list_head *pos;
|
||||
struct tplg_elem *elem;
|
||||
|
|
@ -148,7 +148,9 @@ void tplg_elem_insert(struct tplg_elem *elem_p, struct list_head *list)
|
|||
|
||||
/* create a new common element and object */
|
||||
struct tplg_elem* tplg_elem_new_common(snd_tplg_t *tplg,
|
||||
snd_config_t *cfg, const char *name, enum snd_tplg_type type)
|
||||
snd_config_t *cfg,
|
||||
const char *name,
|
||||
enum snd_tplg_type type)
|
||||
{
|
||||
struct tplg_elem *elem;
|
||||
const char *id, *val = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue