gcc -DALSA_BUILD -D__KERNEL__ -O2 -mpreferred-stack-boundary=2 -march=i686 -DLINUX
-Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -I/usr/src/linux/include -I.. -c
-o control.o control.c
control.c: In function `snd_ctl_ioctl':
control.c:600: `SNDRV_POWER_D0' undeclared (first use in this function)
control.c:600: (Each undeclared identifier is reported only once
control.c:600: for each function it appears in.)
make[1]: *** [control.o] Error 1
make[1]: Leaving directory `/usr/local/src/alsa-driver-0.9.0beta8/kernel'
make: *** [compile] Error 1
I couldn't find anything related to SNDRV_POWER* in the source, so I
have no idea how to fix it.
kernel/control.c:
#ifdef CONFIG_PM
return put_user(card->power_state, (int *)arg) ? -EFAULT : 0;
#else
return put_user(SNDRV_POWER_D0, (int *)arg) ? -EFAULT : 0;
#endif
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user