Just compiling.
Compiler spits out some warnings:
Code:
--------------------
CC [M] sound/soc/bcm/hifiberry_dacplus.o
sound/soc/bcm/hifiberry_dacplus.c: In function
snd_rpi_hifiberry_dacplus_init:
sound/soc/bcm/hifiberry_dacplus.c:170:2: warning: ISO C90 forbids mixed
declarations and code [-Wdeclaration-after-statement]
int ret;
^
sound/soc/bcm/hifiberry_dacplus.c:173:2: warning: passing argument 1 of
snd_soc_limit_volume from incompatible pointer type [enabled by default]
ret = snd_soc_limit_volume(card, "Digital Playback Volume", 207);
^
In file included from sound/soc/bcm/hifiberry_dacplus.c:31:0:
include/sound/soc.h:585:5: note: expected struct snd_soc_codec * but
argument is of type struct snd_soc_card *
int snd_soc_limit_volume(struct snd_soc_codec *codec,
^
--------------------
::: ' Touch Toolbox and more' (http://soundcheck-audio.blogspot.com) :::
by soundcheck
------------------------------------------------------------------------
soundcheck's Profile: http://forums.slimdevices.com/member.php?userid=34383
View this thread: http://forums.slimdevices.com/showthread.php?t=97046
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix