[U-Boot] [PATCH 44/45] video: Tidy up a few comments in video.o

Simon Glass sjg at chromium.org
Mon Oct 1 18:22:48 UTC 2018


Add a little more information to one comment and update the guard comment
to be more accurate.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 include/video.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/video.h b/include/video.h
index ab416c1cfac..75200f0e452 100644
--- a/include/video.h
+++ b/include/video.h
@@ -55,7 +55,7 @@ enum video_log2_bpp {
  * @xsize:	Number of pixel columns (e.g. 1366)
  * @ysize:	Number of pixels rows (e.g.. 768)
  * @rot:	Display rotation (0=none, 1=90 degrees clockwise, etc.)
- * @bpix:	Encoded bits per pixel
+ * @bpix:	Encoded bits per pixel (enum video_log2_bpp)
  * @vidconsole_drv_name:	Driver to use for the text console, NULL to
  *		select automatically
  * @font_size:	Font size in pixels (0 to use a default value)
@@ -269,6 +269,6 @@ int lg4573_spi_startup(unsigned int bus, unsigned int cs,
  */
 void video_get_info_str(int line_number, char *info);
 
-#endif /* CONFIG_DM_VIDEO */
+#endif /* !CONFIG_DM_VIDEO */
 
 #endif
-- 
2.19.0.605.g01d371f741-goog



More information about the U-Boot mailing list