From: Eliot Blennerhassett <linux@audioscience.com>
To: alsa-devel@alsa-project.org
Subject: device_create_drvdata missing on older kernels
Date: Wed, 30 Jul 2008 15:00:34 +1200 [thread overview]
Message-ID: <200807301500.34579.linux@audioscience.com> (raw)
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
(My kernel 2.6.24-19-generic)
--
--
Eliot Blennerhassett
www.audioscience.com
next reply other threads:[~2008-07-30 3:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-30 3:00 Eliot Blennerhassett [this message]
2008-07-30 7:39 ` device_create_drvdata missing on older kernels Jaroslav Kysela
2008-07-30 10:31 ` Takashi Iwai
2008-07-30 23:41 ` Eliot Blennerhassett
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200807301500.34579.linux@audioscience.com \
--to=linux@audioscience.com \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.