[alsa-devel] device_create_drvdata missing on older kernels

Jaroslav Kysela perex at perex.cz
Wed Jul 30 09:39:12 CEST 2008

On Wed, 30 Jul 2008, 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 looks like a correct fix. Applied. Thanks.


Jaroslav Kysela <perex at perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.

More information about the Alsa-devel mailing list