From 696442fab09cbf187ce93def6d7abb3eedecac3e Mon Sep 17 00:00:00 2001 From: Pieter De Gendt Date: Fri, 27 Jun 2025 11:04:22 +0200 Subject: [PATCH] drivers: video: Place device APIs in linker sections Use DEVICE_API macro to place driver API instances into a linker section. Signed-off-by: Pieter De Gendt --- drivers/video/ov9655.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/ov9655.c b/drivers/video/ov9655.c index 60d25966ee4..651dfe960f3 100644 --- a/drivers/video/ov9655.c +++ b/drivers/video/ov9655.c @@ -414,7 +414,7 @@ static int ov9655_enum_frmival(const struct device *dev, struct video_frmival_en return 0; } -static const struct video_driver_api ov9655_api = { +static DEVICE_API(video, ov9655_api) = { .set_format = ov9655_set_fmt, .get_format = ov9655_get_fmt, .get_caps = ov9655_get_caps,