summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
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-hdw-internal.h
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-hdw-internal.h')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
index abf2faf10..ee0885ef1 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
@@ -37,8 +37,7 @@
#include <linux/videodev2.h>
#include <linux/i2c.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