Skip to content

Commit cc17b71

Browse files
ngphibangnashif
authored andcommitted
drivers: video: smartdma: Fix a typo breaking the build
Fix a typo so that it won't break the build. Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
1 parent 4f6d0c1 commit cc17b71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/video/video_mcux_smartdma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ static DEVICE_API(video, nxp_video_sdma_api) = {
371371
PINCTRL_DT_INST_DEFINE(inst); \
372372
const struct nxp_video_sdma_config sdma_config_##inst = { \
373373
.dma_dev = DEVICE_DT_GET(DT_INST_PARENT(inst)), \
374-
.sensor_dev = SOURCE_DEV(n), \
374+
.sensor_dev = SOURCE_DEV(inst), \
375375
.pincfg = PINCTRL_DT_INST_DEV_CONFIG_GET(inst), \
376376
.vsync_pin = DT_INST_PROP(inst, vsync_pin), \
377377
.hsync_pin = DT_INST_PROP(inst, hsync_pin), \

0 commit comments

Comments
 (0)