From d66729ce3b0aa3defd54f232ddb3190b58fff97d Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Fri, 18 Jul 2008 04:02:50 +0200 Subject: videobuf-dma-contig.c: fix 64-bit build for pre-2.6.24 kernels From: Hans Verkuil Signed-off-by: Hans Verkuil --- v4l/compat.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'v4l') 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 -- cgit v1.2.3