Skip to content

Commit e7aa49c

Browse files
Alain Volmatkartben
authored andcommitted
drivers: video: dcmi: correct clock_control_subsys_t cast
Correct the clock_control_subsys_t cast in calls of the clock_control_ framework. Signed-off-by: Alain Volmat <[email protected]>
1 parent c3995b6 commit e7aa49c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/video/video_stm32_dcmi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ static int stm32_dcmi_enable_clock(const struct device *dev)
180180
}
181181

182182
/* Turn on DCMI peripheral clock */
183-
return clock_control_on(dcmi_clock, (clock_control_subsys_t *)&config->pclken);
183+
return clock_control_on(dcmi_clock, (clock_control_subsys_t)&config->pclken);
184184
}
185185

186186
static int video_stm32_dcmi_set_fmt(const struct device *dev, struct video_format *fmt)

0 commit comments

Comments
 (0)