diff mbox series

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

Message ID 20181001182249.129565-45-sjg@chromium.org
State Accepted
Commit 8c466ed3807811de0c5daf3e803048a6f4bd7401
Delegated to: Simon Glass
Headers show
Series Various fixes and improvements | expand

Commit Message

Simon Glass Oct. 1, 2018, 6:22 p.m. UTC
Add a little more information to one comment and update the guard comment
to be more accurate.

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

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

Comments

Anatolij Gustschin Oct. 1, 2018, 7:25 p.m. UTC | #1
On Mon,  1 Oct 2018 12:22:48 -0600
Simon Glass sjg@chromium.org wrote:

> Add a little more information to one comment and update the guard comment
> to be more accurate.
> 
> Signed-off-by: Simon Glass <sjg@chromium.org>

Reviewed-by: Anatolij Gustschin <agust@denx.de>

--
Anatolij
Simon Glass Oct. 9, 2018, 11:54 p.m. UTC | #2
On Mon,  1 Oct 2018 12:22:48 -0600
Simon Glass sjg@chromium.org wrote:

> Add a little more information to one comment and update the guard comment
> to be more accurate.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>

Reviewed-by: Anatolij Gustschin <agust@denx.de>

--
Anatolij

Applied to u-boot-dm
diff mbox series

Patch

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