2780112b3946b1df21a26dd3b84019cfc8cf5795
[openwrt/staging/ldir.git] /
1 From 6974c0c97b821c30af9f6f4ff9b4b6989cb5a573 Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.org>
3 Date: Wed, 21 Feb 2018 15:39:26 +0000
4 Subject: [PATCH] staging: bcm2835-camera: Fix missing lines between
5 items
6
7 Fix checkpatch errors for missing blank lines after variable
8 or structure declarations.
9
10 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
11 ---
12 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.h | 1 +
13 drivers/staging/vc04_services/bcm2835-camera/controls.c | 1 +
14 2 files changed, 2 insertions(+)
15
16 --- a/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.h
17 +++ b/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.h
18 @@ -130,6 +130,7 @@ int set_framerate_params(struct bm2835_m
19 (pix_fmt)->pixelformat, (pix_fmt)->bytesperline, \
20 (pix_fmt)->sizeimage, (pix_fmt)->colorspace, (pix_fmt)->priv); \
21 }
22 +
23 #define v4l2_dump_win_format(level, debug, dev, win_fmt, desc) \
24 { \
25 v4l2_dbg(level, debug, dev, \
26 --- a/drivers/staging/vc04_services/bcm2835-camera/controls.c
27 +++ b/drivers/staging/vc04_services/bcm2835-camera/controls.c
28 @@ -53,6 +53,7 @@ static const s64 ev_bias_qmenu[] = {
29 static const s64 iso_qmenu[] = {
30 0, 100000, 200000, 400000, 800000,
31 };
32 +
33 static const uint32_t iso_values[] = {
34 0, 100, 200, 400, 800,
35 };