in fix version was " #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31) #define snd_card_create snd_card_new #endif " , please change it to " #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31) if ((card = snd_card_new(index[ncards], id[ncards], THIS_MODULE,0)) == NULL) #else if (snd_card_create(index[ncards], id[ncards], THIS_MODULE, 0, &card) !=0 ) #endif " , the snd_card_create function has five args and the return value is if successful .
_______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel