drm/omap: dss: Store dss_device pointer in omap_dss_device

Storing the dss_device pointer in the omap_dss_device structure will
allow accessing the dss_device from the dss_mgr API functions.

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>
Bu işleme şunda yer alıyor:
Laurent Pinchart
2018-03-02 02:54:16 +02:00
işlemeyi yapan: Tomi Valkeinen
ebeveyn c1dfe721e0
işleme f324b2798c
17 değiştirilmiş dosya ile 27 ekleme ve 18 silme

Dosyayı Görüntüle

@@ -391,6 +391,7 @@ struct omap_dss_device {
struct module *owner;
struct dss_device *dss;
struct omap_dss_device *src;
struct omap_dss_device *dst;
@@ -498,7 +499,8 @@ struct omap_dss_device *omapdss_find_device_by_port(struct device_node *src,
unsigned int port);
struct omap_dss_device *omapdss_device_get_next(struct omap_dss_device *from,
bool display_only);
int omapdss_device_connect(struct omap_dss_device *src,
int omapdss_device_connect(struct dss_device *dss,
struct omap_dss_device *src,
struct omap_dss_device *dst);
void omapdss_device_disconnect(struct omap_dss_device *src,
struct omap_dss_device *dst);