summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pvrusb2/pvrusb2-io.c
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2006-04-20 00:07:57 -0500
committerMike Isely <isely@pobox.com>2006-04-20 00:07:57 -0500
commitf4549adf17ab1879858c7b8655dfe7ef023e404e (patch)
tree01407d1c8d149aa6d196e14d76b11426ff6569da /linux/drivers/media/video/pvrusb2/pvrusb2-io.c
parentc860a0d64f8d3a88bb9c0c493ec77e0267562249 (diff)
downloadmediapointer-dvb-s2-f4549adf17ab1879858c7b8655dfe7ef023e404e.tar.gz
mediapointer-dvb-s2-f4549adf17ab1879858c7b8655dfe7ef023e404e.tar.bz2
Include linux/mutex.h not asm/mutex.h in pvrusb2
From: Mike Isely <isely@pobox.com> The correct mutex header to grab is linux/mutex.h, and while asm/mutex.h seems to work for x86 architecture, it has been reported not to work for amd64 architecture. So let's just do this right. Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-io.c')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-io.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-io.c b/linux/drivers/media/video/pvrusb2/pvrusb2-io.c
index a6bc3befe..cb0ca6376 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-io.c
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-io.c
@@ -26,8 +26,7 @@
#include <linux/string.h>
#include <linux/slab.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16)
-#include <asm/atomic.h>
-#include <asm/mutex.h>
+#include <linux/mutex.h>
#else
#include <asm/semaphore.h>
#endif