summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-07-14 00:33:42 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2008-07-14 00:33:42 -0400
commit355699a8648782af767ca46dcfe4330d54c01554 (patch)
tree0a019e46d1f75b411e9083c8cf8b04439c413d59
parent57f7547b3b754c5a80806990d706830b2515a643 (diff)
downloadmediapointer-dvb-s2-355699a8648782af767ca46dcfe4330d54c01554.tar.gz
mediapointer-dvb-s2-355699a8648782af767ca46dcfe4330d54c01554.tar.bz2
sms1xxx: fix compat for kernel 2.6.23 and earlier
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
-rw-r--r--linux/drivers/media/dvb/siano/smscoreapi.h2
-rw-r--r--v4l/compat.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/siano/smscoreapi.h b/linux/drivers/media/dvb/siano/smscoreapi.h
index 9caefebc3..482ef0676 100644
--- a/linux/drivers/media/dvb/siano/smscoreapi.h
+++ b/linux/drivers/media/dvb/siano/smscoreapi.h
@@ -29,7 +29,7 @@
#include <linux/scatterlist.h>
#include <linux/types.h>
#include <asm/page.h>
-
+#include "compat.h"
#include "dmxdev.h"
#include "dvbdev.h"
#include "dvb_demux.h"
diff --git a/v4l/compat.h b/v4l/compat.h
index d32806e9b..ba9a7cff7 100644
--- a/v4l/compat.h
+++ b/v4l/compat.h
@@ -210,4 +210,8 @@ static inline struct proc_dir_entry *proc_create_data(const char *a,
#endif
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 24)
+typedef unsigned long uintptr_t;
+#endif
+
#endif