[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?
>
> #ifndef CONFIG_SND_HAS_DEVICE_CREATE_DRVDATA
> #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
-----
Jaroslav Kysela <perex at perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.
More information about the Alsa-devel
mailing list