aboutsummaryrefslogtreecommitdiff
path: root/include/video.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/video.h')
-rw-r--r--include/video.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/video.h b/include/video.h
index f14fb15f84f..5ac1387a395 100644
--- a/include/video.h
+++ b/include/video.h
@@ -276,6 +276,13 @@ static inline int video_sync_copy_all(struct udevice *dev)
#endif
+/**
+ * video_is_active() - Test if one video device it active
+ *
+ * @return true if at least one video device is active, else false.
+ */
+bool video_is_active(void);
+
#ifndef CONFIG_DM_VIDEO
/* Video functions */