summaryrefslogtreecommitdiff
path: root/linux/include/media/saa7146.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux/include/media/saa7146.h')
-rw-r--r--linux/include/media/saa7146.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/include/media/saa7146.h b/linux/include/media/saa7146.h
index dcb4510c5..ac8544da4 100644
--- a/linux/include/media/saa7146.h
+++ b/linux/include/media/saa7146.h
@@ -14,7 +14,9 @@
#include <asm/io.h> /* for accessing devices */
#include <linux/stringify.h>
-#include "compat.h"
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,51)
+ #include "compat.h"
+#endif
#define SAA7146_VERSION_CODE KERNEL_VERSION(0,5,0)