drm/omap: Pass pipe pointer to omap_crtc_init()
Replace the dss display device pointer by a pipe pointer that will allow the omap_crtc_init() function to access both the display and the DSS output. As a result we can remove the omapdss_device_get_dispc_channel() function that is now unneeded. 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>
This commit is contained in:

committed by
Tomi Valkeinen

parent
3be0f15bd6
commit
00b30e794f
@@ -246,15 +246,6 @@ void omapdss_device_disconnect(struct omap_dss_device *src,
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(omapdss_device_disconnect);
|
||||
|
||||
enum omap_channel omapdss_device_get_dispc_channel(struct omap_dss_device *dssdev)
|
||||
{
|
||||
while (dssdev->src)
|
||||
dssdev = dssdev->src;
|
||||
|
||||
return dssdev->dispc_channel;
|
||||
}
|
||||
EXPORT_SYMBOL(omapdss_device_get_dispc_channel);
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* Components Handling
|
||||
*/
|
||||
|
Reference in New Issue
Block a user