diff options
author | Ulrich Ölmann <u.oelmann@pengutronix.de> | 2015-12-04 06:31:28 -0500 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2015-12-16 10:21:13 -0500 |
commit | 85533e3b321f45f028aa1267afd8d156980957a9 (patch) | |
tree | b8da48c6c44976e93414f1bf61cc1f1353dd37c4 | |
parent | 8def22e50f32c00f876a71dc551024fc61f647e1 (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 <u.oelmann@pengutronix.de>
Signed-off-by: Thierry Reding <treding@nvidia.com>
-rw-r--r-- | drivers/gpu/drm/panel/panel-simple.c | 4 |
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 { | |||
44 | 44 | ||
45 | unsigned int bpc; | 45 | unsigned int bpc; |
46 | 46 | ||
47 | /** | ||
48 | * @width: width (in millimeters) of the panel's active display area | ||
49 | * @height: height (in millimeters) of the panel's active display area | ||
50 | */ | ||
47 | struct { | 51 | struct { |
48 | unsigned int width; | 52 | unsigned int width; |
49 | unsigned int height; | 53 | unsigned int height; |