diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-03-02 02:15:36 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2018-09-03 16:13:26 +0300 |
commit | 4e0bb06c0b9a025a5a52f93ecef7658d8f8c3c06 (patch) | |
tree | df530ac06e9d47d0afb66e10007b50d6c24fa563 /drivers/gpu/drm/omapdrm/displays/connector-dvi.c | |
parent | b9f4d2ebf641d157be89a68227a5feb00c961d10 (diff) | |
download | blackbird-obmc-linux-4e0bb06c0b9a025a5a52f93ecef7658d8f8c3c06.tar.gz blackbird-obmc-linux-4e0bb06c0b9a025a5a52f93ecef7658d8f8c3c06.zip |
drm/omap: dss: Split omapdss_register_display()
Split the function into omapdss_display_init() to perform
display-specific initialization of the omap_dss_device, and
omapdss_register_display() to register the device. The latter will then
be replaced by more generic registration.
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/displays/connector-dvi.c')
-rw-r--r-- | drivers/gpu/drm/omapdrm/displays/connector-dvi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/omapdrm/displays/connector-dvi.c b/drivers/gpu/drm/omapdrm/displays/connector-dvi.c index 211d59cf8dcd..5e3ef5e9e9f6 100644 --- a/drivers/gpu/drm/omapdrm/displays/connector-dvi.c +++ b/drivers/gpu/drm/omapdrm/displays/connector-dvi.c @@ -390,6 +390,7 @@ static int dvic_probe(struct platform_device *pdev) dssdev->type = OMAP_DISPLAY_TYPE_DVI; dssdev->owner = THIS_MODULE; + omapdss_display_init(dssdev); r = omapdss_register_display(dssdev); if (r) { dev_err(&pdev->dev, "Failed to register panel\n"); |