aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/ccs/ccs-core.c
diff options
context:
space:
mode:
authorSakari Ailus <[email protected]>2020-11-26 20:02:54 +0000
committerMauro Carvalho Chehab <[email protected]>2021-01-12 16:56:00 +0000
commitdffbdf3775d55fa637c456f4ed3025e426e467ec (patch)
tree5db45007ef08750fbf7baa9934b196e7266d5f71 /drivers/media/i2c/ccs/ccs-core.c
parentmedia: ccs-pll: Switch from standard integer types to kernel ones (diff)
downloadkernel-dffbdf3775d55fa637c456f4ed3025e426e467ec.tar.gz
kernel-dffbdf3775d55fa637c456f4ed3025e426e467ec.zip
media: ccs: Switch from standard integer types to kernel ones
The preferred integer types in the kernel are the Linux specific ones, switch from standard C types to u32 and alike. Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/i2c/ccs/ccs-core.c')
-rw-r--r--drivers/media/i2c/ccs/ccs-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/ccs/ccs-core.c b/drivers/media/i2c/ccs/ccs-core.c
index a8f591c95bc2..15afbb4f5b31 100644
--- a/drivers/media/i2c/ccs/ccs-core.c
+++ b/drivers/media/i2c/ccs/ccs-core.c
@@ -1190,7 +1190,7 @@ static void ccs_update_blanking(struct ccs_sensor *sensor)
{
struct v4l2_ctrl *vblank = sensor->vblank;
struct v4l2_ctrl *hblank = sensor->hblank;
- uint16_t min_fll, max_fll, min_llp, max_llp, min_lbp;
+ u16 min_fll, max_fll, min_llp, max_llp, min_lbp;
int min, max;
if (sensor->binning_vertical > 1 || sensor->binning_horizontal > 1) {