if (!mgr)
return -ENODEV;
- r = dss_mgr_connect(mgr, dssdev);
+ r = dss_mgr_connect(mgr->id, dssdev);
if (r)
return r;
if (!mgr)
return -ENODEV;
- r = dss_mgr_connect(mgr, dssdev);
+ r = dss_mgr_connect(mgr->id, dssdev);
if (r)
return r;
if (!mgr)
return -ENODEV;
- r = dss_mgr_connect(mgr, dssdev);
+ r = dss_mgr_connect(mgr->id, dssdev);
if (r)
return r;
if (!mgr)
return -ENODEV;
- r = dss_mgr_connect(mgr, dssdev);
+ r = dss_mgr_connect(mgr->id, dssdev);
if (r)
return r;
int dss_install_mgr_ops(const struct dss_mgr_ops *mgr_ops);
void dss_uninstall_mgr_ops(void);
-int dss_mgr_connect(struct omap_overlay_manager *mgr,
+int dss_mgr_connect(enum omap_channel channel,
struct omap_dss_device *dst);
void dss_mgr_disconnect(struct omap_overlay_manager *mgr,
struct omap_dss_device *dst);
}
EXPORT_SYMBOL(dss_uninstall_mgr_ops);
-int dss_mgr_connect(struct omap_overlay_manager *mgr,
+int dss_mgr_connect(enum omap_channel channel,
struct omap_dss_device *dst)
{
- return dss_mgr_ops->connect(mgr->id, dst);
+ return dss_mgr_ops->connect(channel, dst);
}
EXPORT_SYMBOL(dss_mgr_connect);
if (!mgr)
return -ENODEV;
- r = dss_mgr_connect(mgr, dssdev);
+ r = dss_mgr_connect(mgr->id, dssdev);
if (r)
return r;
if (!mgr)
return -ENODEV;
- r = dss_mgr_connect(mgr, dssdev);
+ r = dss_mgr_connect(mgr->id, dssdev);
if (r)
return r;