[PATCH] drm/panel: add kernel doc for size attributes in panel_desc

Ulrich Ölmann u.oelmann at pengutronix.de
Fri Dec 4 03:31:28 PST 2015


Document that 'width' and 'height' are measured in millimeters.

Signed-off-by: Ulrich Ölmann <u.oelmann at pengutronix.de>
---
 drivers/gpu/drm/panel/panel-simple.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index ada97a0..8c194ed 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -44,6 +44,10 @@ struct panel_desc {
 
 	unsigned int bpc;
 
+	/**
+	 * @width: the width of the panel (in millimeters)
+	 * @height: the height of the panel (in millimeters)
+	 */
 	struct {
 		unsigned int width;
 		unsigned int height;
-- 
2.6.2



More information about the dri-devel mailing list