mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 08:51:13 +00:00
35 lines
836 B
Diff
35 lines
836 B
Diff
|
From b1a21b378ea123942db1d07007a040c5e89b23aa Mon Sep 17 00:00:00 2001
|
||
|
From: Naushir Patuck <naush@raspberrypi.com>
|
||
|
Date: Tue, 19 May 2020 15:57:23 +0100
|
||
|
Subject: [PATCH] uapi: bcm2835-isp: Fixups for bcm2835-isp uapi
|
||
|
structures
|
||
|
|
||
|
Rename pad_[] to padding[].
|
||
|
struct bcm2835_isp_rational.den is now unsigned.
|
||
|
|
||
|
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
|
||
|
---
|
||
|
include/uapi/linux/bcm2835-isp.h | 4 ++--
|
||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
||
|
--- a/include/uapi/linux/bcm2835-isp.h
|
||
|
+++ b/include/uapi/linux/bcm2835-isp.h
|
||
|
@@ -46,7 +46,7 @@
|
||
|
*/
|
||
|
struct bcm2835_isp_rational {
|
||
|
__s32 num;
|
||
|
- __s32 den;
|
||
|
+ __u32 den;
|
||
|
};
|
||
|
|
||
|
/**
|
||
|
@@ -140,7 +140,7 @@ struct bcm2835_isp_black_level {
|
||
|
__u16 black_level_r;
|
||
|
__u16 black_level_g;
|
||
|
__u16 black_level_b;
|
||
|
- __u8 pad_[2]; /* Unused */
|
||
|
+ __u8 padding[2]; /* Unused */
|
||
|
};
|
||
|
|
||
|
/**
|