diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2008-07-14 00:33:42 -0400 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2008-07-14 00:33:42 -0400 |
commit | 355699a8648782af767ca46dcfe4330d54c01554 (patch) | |
tree | 0a019e46d1f75b411e9083c8cf8b04439c413d59 | |
parent | 57f7547b3b754c5a80806990d706830b2515a643 (diff) | |
download | mediapointer-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.h | 2 | ||||
-rw-r--r-- | v4l/compat.h | 4 |
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 |