[alsa-devel] device_create_drvdata missing on older kernels

Takashi Iwai tiwai at suse.de
Wed Jul 30 12:31:47 CEST 2008

At Wed, 30 Jul 2008 15:00:34 +1200,
Eliot Blennerhassett wrote:
> I could not compile current git. (Error on acore/init.c)
> Adding this to adriver.h fixed it for me. I'm not sure if this is the correct 
> general fix?
> #define device_create_drvdata(c,d,m,p,s,n) device_create((c),(d),(m),(s),(n))
> #endif 

It works right now for vanilla, but not for linux-next, unfortunately.
device_create_drvdata() is gone again in the next kernel.  Long live
the function.

Could you check it's fixed on the snapshot tarball?


More information about the Alsa-devel mailing list