Commit c60f2b5c authored by Guennadi Liakhovetski's avatar Guennadi Liakhovetski Committed by Mauro Carvalho Chehab

V4L/DVB (8425): v4l: fix checkpatch errors introduced by recent commits

Signed-off-by: default avatarGuennadi Liakhovetski <g.liakhovetski@pengutronix.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 82fc52a8
...@@ -91,6 +91,7 @@ struct sh_mobile_ceu_dev { ...@@ -91,6 +91,7 @@ struct sh_mobile_ceu_dev {
void __iomem *base; void __iomem *base;
unsigned long video_limit; unsigned long video_limit;
/* lock used to protect videobuf */
spinlock_t lock; spinlock_t lock;
struct list_head capture; struct list_head capture;
struct videobuf_buffer *active; struct videobuf_buffer *active;
......
...@@ -30,7 +30,7 @@ struct videobuf_dma_contig_memory { ...@@ -30,7 +30,7 @@ struct videobuf_dma_contig_memory {
#define MAGIC_DC_MEM 0x0733ac61 #define MAGIC_DC_MEM 0x0733ac61
#define MAGIC_CHECK(is, should) \ #define MAGIC_CHECK(is, should) \
if (unlikely((is) != (should))) { \ if (unlikely((is) != (should))) { \
pr_err("magic mismatch: %x expected %x\n", is, should); \ pr_err("magic mismatch: %x expected %x\n", (is), (should)); \
BUG(); \ BUG(); \
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment