diff options
Diffstat (limited to 'v4l/compat.h')
-rw-r--r-- | v4l/compat.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/v4l/compat.h b/v4l/compat.h index 5b80bb6ad..81eb75f7a 100644 --- a/v4l/compat.h +++ b/v4l/compat.h @@ -1,12 +1,14 @@ /* - * $Id: compat.h,v 1.13 2005/07/13 17:25:25 mchehab Exp $ + * $Id: compat.h,v 1.14 2005/07/15 20:37:50 mchehab Exp $ */ #ifndef _COMPAT_H #define _COMPAT_H #include <linux/i2c-id.h> +#include <linux/pm.h> #include <linux/version.h> +#include <linux/utsname.h> #if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,18) # define minor(x) MINOR(x) @@ -101,6 +103,10 @@ static inline unsigned long msleep_interruptible(unsigned int msecs) } #endif +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,11) +#define pm_message_t u32 +#endif + #endif /* * Local variables: |