mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 05:40:55 +07:00
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>
This commit is contained in:
parent
86d37bf31a
commit
2e654432a2
@ -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];
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user