summaryrefslogtreecommitdiff
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
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>
-rw-r--r--linux/drivers/media/dvb/frontends/drx397xD.c1
-rw-r--r--v4l/compat.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/drx397xD.c b/linux/drivers/media/dvb/frontends/drx397xD.c
index f0a250512..327fff4b8 100644
--- a/linux/drivers/media/dvb/frontends/drx397xD.c
+++ b/linux/drivers/media/dvb/frontends/drx397xD.c
@@ -30,6 +30,7 @@
#include "dvb_frontend.h"
#include "drx397xD.h"
+#include "compat.h"
static const char mod_name[] = "drx397xD";
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