summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-04-30 23:18:40 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-30 23:18:40 -0300
commitf9e3ab7bf5163867f98685166c8df8124345151b (patch)
treec368354147657fa38393a39a335c86a8f99482ee /v4l
parentc7420d03a48097dd8f80e893ed945a4952d8320d (diff)
downloadmediapointer-dvb-s2-f9e3ab7bf5163867f98685166c8df8124345151b.tar.gz
mediapointer-dvb-s2-f9e3ab7bf5163867f98685166c8df8124345151b.tar.bz2
Fixes compilation for drx397xD
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'v4l')
-rw-r--r--v4l/compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/v4l/compat.h b/v4l/compat.h
index 78d6c1d75..01847a319 100644
--- a/v4l/compat.h
+++ b/v4l/compat.h
@@ -552,4 +552,8 @@ static inline struct proc_dir_entry *proc_create(const char *a,
#endif
#endif
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 26)
+#define div64_u64(a,b) div64_64(a,b)
+#endif
+
#endif