bcm27xx: import latest patches from the RPi foundation
[openwrt/staging/rmilecki.git] / target / linux / bcm27xx / patches-5.4 / 950-0840-uapi-bcm2835-isp-Fixups-for-bcm2835-isp-uapi-structu.patch
1 From b1a21b378ea123942db1d07007a040c5e89b23aa Mon Sep 17 00:00:00 2001
2 From: Naushir Patuck <naush@raspberrypi.com>
3 Date: Tue, 19 May 2020 15:57:23 +0100
4 Subject: [PATCH] uapi: bcm2835-isp: Fixups for bcm2835-isp uapi
5 structures
6
7 Rename pad_[] to padding[].
8 struct bcm2835_isp_rational.den is now unsigned.
9
10 Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
11 ---
12 include/uapi/linux/bcm2835-isp.h | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15 --- a/include/uapi/linux/bcm2835-isp.h
16 +++ b/include/uapi/linux/bcm2835-isp.h
17 @@ -46,7 +46,7 @@
18 */
19 struct bcm2835_isp_rational {
20 __s32 num;
21 - __s32 den;
22 + __u32 den;
23 };
24
25 /**
26 @@ -140,7 +140,7 @@ struct bcm2835_isp_black_level {
27 __u16 black_level_r;
28 __u16 black_level_g;
29 __u16 black_level_b;
30 - __u8 pad_[2]; /* Unused */
31 + __u8 padding[2]; /* Unused */
32 };
33
34 /**