summaryrefslogtreecommitdiff
path: root/v4l/compat.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-07-18 04:02:50 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2008-07-18 04:02:50 +0200
commitd66729ce3b0aa3defd54f232ddb3190b58fff97d (patch)
tree6c8f0b995a1fa9a9268622ba27d3ce06e7f73d2c /v4l/compat.h
parentc11712b71011f36b3e1a6c359f57f2262fb7fd0b (diff)
downloadmediapointer-dvb-s2-d66729ce3b0aa3defd54f232ddb3190b58fff97d.tar.gz
mediapointer-dvb-s2-d66729ce3b0aa3defd54f232ddb3190b58fff97d.tar.bz2
videobuf-dma-contig.c: fix 64-bit build for pre-2.6.24 kernels
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'v4l/compat.h')
-rw-r--r--v4l/compat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/v4l/compat.h b/v4l/compat.h
index af6727e1b..5e46c8271 100644
--- a/v4l/compat.h
+++ b/v4l/compat.h
@@ -114,6 +114,9 @@ do { \
p->length = sz; \
p->offset = off; \
} while (0)
+
+#define pr_err(fmt, arg...) \
+ printk(KERN_ERR fmt, ##arg)
#endif
#ifndef BIT_MASK