summaryrefslogtreecommitdiff
path: root/v4l/compat.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-07-15 20:37:50 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-07-15 20:37:50 +0000
commitc3a91da831ec27aeade07db0e0e8700e6207c7cb (patch)
tree909363ed3bd7ffec1cf8c5af37f7e5e1be9393f2 /v4l/compat.h
parenta8c58c30dad76eafb34d48937934d5f9793f885f (diff)
downloadmediapointer-dvb-s2-c3a91da831ec27aeade07db0e0e8700e6207c7cb.tar.gz
mediapointer-dvb-s2-c3a91da831ec27aeade07db0e0e8700e6207c7cb.tar.bz2
DVB Stuff removed. Makefile now doesn't need it also.
compat.h changed to reflect latest API change. Included a script to make ChangeLog Generation easier. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'v4l/compat.h')
-rw-r--r--v4l/compat.h8
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: