aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Ölmann <[email protected]>2015-12-04 12:31:28 +0100
committerThierry Reding <[email protected]>2015-12-16 16:21:13 +0100
commit85533e3b321f45f028aa1267afd8d156980957a9 (patch)
treeb8da48c6c44976e93414f1bf61cc1f1353dd37c4
parent8def22e50f32c00f876a71dc551024fc61f647e1 (diff)
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 <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
-rw-r--r--drivers/gpu/drm/panel/panel-simple.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index faa1c168a6e7..43a100c0b785 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: 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;