[alsa-devel] device_create_drvdata missing on older kernels

Eliot Blennerhassett linux at audioscience.com
Wed Jul 30 05:00:34 CEST 2008

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))

(My kernel 2.6.24-19-generic)

Eliot Blennerhassett

More information about the Alsa-devel mailing list