aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2010-12-14 20:18:37 +0100
committerTakashi Iwai <tiwai@suse.de>2010-12-14 20:18:37 +0100
commit6be32b069ff75f56e7c9631ec0ad1700c5c9a85d (patch)
treed7c058a6c9233cc28a8fda5c91870a2ba0f4d063
parent150e7c20ac0d4cc7e8fa7994bb04b17cd2da9a88 (diff)
downloadalsa-driver-build-unstable-6be32b069ff75f56e7c9631ec0ad1700c5c9a85d.tar.gz
Fix build error due to flush_work_sync() wrapper
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--include/adriver.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/adriver.h b/include/adriver.h
index bd6376531..aefc88f9e 100644
--- a/include/adriver.h
+++ b/include/adriver.h
@@ -1940,6 +1940,7 @@ static inline bool flush_work_sync(struct work_struct *work)
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 27)
/* XXX */
flush_scheduled_work();
+ return true;
#else
if (!flush_work(work))
return false;