summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-10-17 20:12:54 -0600
committerTom Rini <trini@konsulko.com>2016-10-23 18:33:54 -0400
commit0a6eac842ea288411309cebdc4e72ff59ea6c5ee (patch)
tree9acdd215dd13ce6a8c4c9d82a0cdd5e15f65e8bc /include
parentfbda683292da37690d9729561a18ccfa51491235 (diff)
video: Move video_get_info_str() prototype to a header file
This should be defined in a header file so that arguments are checked. Move it to video.h. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include')
-rw-r--r--include/video.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/video.h b/include/video.h
index 0d5bd21c600..5b4e78b1825 100644
--- a/include/video.h
+++ b/include/video.h
@@ -245,6 +245,17 @@ int lg4573_spi_startup(unsigned int bus, unsigned int cs,
unsigned int max_hz, unsigned int spi_mode);
#endif
+/*
+ * video_get_info_str() - obtain a board string: type, speed, etc.
+ *
+ * This is called if CONFIG_CONSOLE_EXTRA_INFO is enabled.
+ *
+ * line_number: location to place info string beside logo
+ * info: buffer for info string (empty if nothing to display on this
+ * line)
+ */
+void video_get_info_str(int line_number, char *info);
+
#endif /* CONFIG_DM_VIDEO */
#endif