From 355699a8648782af767ca46dcfe4330d54c01554 Mon Sep 17 00:00:00 2001 From: Michael Krufky Date: Mon, 14 Jul 2008 00:33:42 -0400 Subject: sms1xxx: fix compat for kernel 2.6.23 and earlier From: Michael Krufky Signed-off-by: Michael Krufky --- v4l/compat.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'v4l/compat.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 -- cgit v1.2.3