projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a118e61
)
[media] smiapp: Use SMIAPP_PADS when referring to number of pads
author
Sakari Ailus
<
[email protected]
>
Wed, 7 Sep 2016 11:39:52 +0000
(08:39 -0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Fri, 21 Oct 2016 17:08:13 +0000
(15:08 -0200)
Replace plain value 2 with SMIAPP_PADS when referring to the number of
pads.
Signed-off-by: Sakari Ailus <
[email protected]
>
Reviewed-by: Sebastian Reichel <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/i2c/smiapp/smiapp.h
patch
|
blob
|
history
diff --git
a/drivers/media/i2c/smiapp/smiapp.h
b/drivers/media/i2c/smiapp/smiapp.h
index e71271ef764be466cda1726637b3d89b4e16841e..f9febe0a056dcc3f683ebd9e1a5a1f72141341e7 100644
(file)
--- a/
drivers/media/i2c/smiapp/smiapp.h
+++ b/
drivers/media/i2c/smiapp/smiapp.h
@@
-157,9
+157,9
@@
struct smiapp_binning_subtype {
struct smiapp_subdev {
struct v4l2_subdev sd;
- struct media_pad pads[
2
];
+ struct media_pad pads[
SMIAPP_PADS
];
struct v4l2_rect sink_fmt;
- struct v4l2_rect crop[
2
];
+ struct v4l2_rect crop[
SMIAPP_PADS
];
struct v4l2_rect compose; /* compose on sink */
unsigned short sink_pad;
unsigned short source_pad;