diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-01-08 12:06:53 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-01-08 12:08:11 +0100 |
commit | 47ee249d1ee30f6da0ea3f3c5e94cb12ae7815a2 (patch) | |
tree | 05b548ae5084ecf49830085b041708c29c284940 | |
parent | 810e6adc86bc8994ce00e1ea6dc788637c9db154 (diff) | |
download | alsa-driver-build-unstable-47ee249d1ee30f6da0ea3f3c5e94cb12ae7815a2.tar.gz |
Add ASYNC_DOMAIN_EXCLUSIVE() wrapper for older kernels
Defined locally, so far.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | alsa/pci/hda/hda_codec.c | 4 | ||||
-rw-r--r-- | alsa/soc/soc-dapm.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/alsa/pci/hda/hda_codec.c b/alsa/pci/hda/hda_codec.c index 39010da80..4e0a177d1 100644 --- a/alsa/pci/hda/hda_codec.c +++ b/alsa/pci/hda/hda_codec.c @@ -1,2 +1,6 @@ #include "adriver.h" +#include <linux/async.h> +#ifndef ASYNC_DOMAIN_EXCLUSIVE +#define ASYNC_DOMAIN_EXCLUSIVE(name) LIST_HEAD(name) +#endif #include "../../alsa-kernel/pci/hda/hda_codec.c" diff --git a/alsa/soc/soc-dapm.c b/alsa/soc/soc-dapm.c index 1fb34d733..c2f48549d 100644 --- a/alsa/soc/soc-dapm.c +++ b/alsa/soc/soc-dapm.c @@ -3,4 +3,8 @@ /* HACK HACK - debugfs_remove_recursive() isn't defined */ #undef CONFIG_DEBUG_FS #endif +#include <linux/async.h> +#ifndef ASYNC_DOMAIN_EXCLUSIVE +#define ASYNC_DOMAIN_EXCLUSIVE(name) LIST_HEAD(name) +#endif #include "../alsa-kernel/soc/soc-dapm.c" |