diff options
-rw-r--r-- | linux/drivers/media/video/videobuf-dma-contig.c | 2 | ||||
-rw-r--r-- | v4l/compat.h | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/linux/drivers/media/video/videobuf-dma-contig.c b/linux/drivers/media/video/videobuf-dma-contig.c index 2475535cb..c71001da3 100644 --- a/linux/drivers/media/video/videobuf-dma-contig.c +++ b/linux/drivers/media/video/videobuf-dma-contig.c @@ -16,8 +16,10 @@ #include <linux/init.h> #include <linux/module.h> +#include <linux/mm.h> #include <linux/dma-mapping.h> #include <media/videobuf-dma-contig.h> +#include "compat.h" struct videobuf_dma_contig_memory { u32 magic; 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 |