diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-03-01 19:43:45 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2018-09-03 09:13:26 -0400 |
commit | c1dfe721e0966947019c43b65f2837c591fdcb3c (patch) | |
tree | 8ce6d3643384f63f717b66bf36eb2bce92d32929 /drivers/gpu/drm/omapdrm/dss/omapdss.h | |
parent | 67822ae11971c664f5d28d7914b4b00cff07a9fd (diff) |
drm/omap: dss: Move and rename omap_dss_(get|put)_device()
The functions operate on any omap_dss_device, move them from display.c
to base.c. While at it rename them to match the naming of the other
functions operating on struct omap_dss_device.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/dss/omapdss.h')
-rw-r--r-- | drivers/gpu/drm/omapdrm/dss/omapdss.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/drm/omapdrm/dss/omapdss.h b/drivers/gpu/drm/omapdrm/dss/omapdss.h index 5f71f6885991..96011e42da05 100644 --- a/drivers/gpu/drm/omapdrm/dss/omapdss.h +++ b/drivers/gpu/drm/omapdrm/dss/omapdss.h | |||
@@ -492,6 +492,8 @@ void omapdss_display_init(struct omap_dss_device *dssdev); | |||
492 | 492 | ||
493 | void omapdss_device_register(struct omap_dss_device *dssdev); | 493 | void omapdss_device_register(struct omap_dss_device *dssdev); |
494 | void omapdss_device_unregister(struct omap_dss_device *dssdev); | 494 | void omapdss_device_unregister(struct omap_dss_device *dssdev); |
495 | struct omap_dss_device *omapdss_device_get(struct omap_dss_device *dssdev); | ||
496 | void omapdss_device_put(struct omap_dss_device *dssdev); | ||
495 | struct omap_dss_device *omapdss_find_device_by_port(struct device_node *src, | 497 | struct omap_dss_device *omapdss_find_device_by_port(struct device_node *src, |
496 | unsigned int port); | 498 | unsigned int port); |
497 | struct omap_dss_device *omapdss_device_get_next(struct omap_dss_device *from, | 499 | struct omap_dss_device *omapdss_device_get_next(struct omap_dss_device *from, |
@@ -501,9 +503,6 @@ int omapdss_device_connect(struct omap_dss_device *src, | |||
501 | void omapdss_device_disconnect(struct omap_dss_device *src, | 503 | void omapdss_device_disconnect(struct omap_dss_device *src, |
502 | struct omap_dss_device *dst); | 504 | struct omap_dss_device *dst); |
503 | 505 | ||
504 | struct omap_dss_device *omap_dss_get_device(struct omap_dss_device *dssdev); | ||
505 | void omap_dss_put_device(struct omap_dss_device *dssdev); | ||
506 | |||
507 | int omap_dss_get_num_overlay_managers(void); | 506 | int omap_dss_get_num_overlay_managers(void); |
508 | 507 | ||
509 | int omap_dss_get_num_overlays(void); | 508 | int omap_dss_get_num_overlays(void); |