فهرست منبع

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

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

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Ulrich Ölmann 9 سال پیش
والد
کامیت
85533e3b32
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      drivers/gpu/drm/panel/panel-simple.c

+ 4 - 0
drivers/gpu/drm/panel/panel-simple.c

@@ -44,6 +44,10 @@ struct panel_desc {
 
 	unsigned int bpc;
 
+	/**
+	 * @width: width (in millimeters) of the panel's active display area
+	 * @height: height (in millimeters) of the panel's active display area
+	 */
 	struct {
 		unsigned int width;
 		unsigned int height;