diff options
author | Ulrich Ölmann <u.oelmann@pengutronix.de> | 2015-12-04 14:31:28 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2015-12-16 18:21:13 +0300 |
commit | 85533e3b321f45f028aa1267afd8d156980957a9 (patch) | |
tree | b8da48c6c44976e93414f1bf61cc1f1353dd37c4 /drivers/gpu/drm/panel | |
parent | 8def22e50f32c00f876a71dc551024fc61f647e1 (diff) | |
download | linux-85533e3b321f45f028aa1267afd8d156980957a9.tar.xz |
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>
Diffstat (limited to 'drivers/gpu/drm/panel')
-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 { 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; |