diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2020-09-08 11:16:57 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-09-10 15:28:03 +0300 |
commit | 2e654432a260d968cd505898e1c056ce6ab63c31 (patch) | |
tree | 0d12c02366ff6979d83b57669b88e5d6f941dff3 /include/media/v4l2-fwnode.h | |
parent | 86d37bf31af647760f1f17e7c1afa1bdba075198 (diff) | |
download | linux-2e654432a260d968cd505898e1c056ce6ab63c31.tar.xz |
media: v4l2-fwnode: Make number of data lanes a character
The maximum is currently four (4). No short is needed.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include/media/v4l2-fwnode.h')
-rw-r--r-- | include/media/v4l2-fwnode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/v4l2-fwnode.h b/include/media/v4l2-fwnode.h index c47b70636e42..81e7eb123294 100644 --- a/include/media/v4l2-fwnode.h +++ b/include/media/v4l2-fwnode.h @@ -40,7 +40,7 @@ struct v4l2_fwnode_bus_mipi_csi2 { unsigned int flags; unsigned char data_lanes[V4L2_FWNODE_CSI2_MAX_DATA_LANES]; unsigned char clock_lane; - unsigned short num_data_lanes; + unsigned char num_data_lanes; bool lane_polarities[1 + V4L2_FWNODE_CSI2_MAX_DATA_LANES]; }; |