From 0a6eac842ea288411309cebdc4e72ff59ea6c5ee Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 17 Oct 2016 20:12:54 -0600 Subject: 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 Reviewed-by: Tom Rini --- include/video.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'include/video.h') diff --git a/include/video.h b/include/video.h index 0d5bd21..5b4e78b 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 -- cgit v1.1