diff options
Diffstat (limited to 'drivers/video/omap2/dss/sdi.c')
-rw-r--r-- | drivers/video/omap2/dss/sdi.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/video/omap2/dss/sdi.c b/drivers/video/omap2/dss/sdi.c index 3be8134ec2d9..2641a768f316 100644 --- a/drivers/video/omap2/dss/sdi.c +++ b/drivers/video/omap2/dss/sdi.c | |||
@@ -156,7 +156,7 @@ void omapdss_sdi_display_disable(struct omap_dss_device *dssdev) | |||
156 | } | 156 | } |
157 | EXPORT_SYMBOL(omapdss_sdi_display_disable); | 157 | EXPORT_SYMBOL(omapdss_sdi_display_disable); |
158 | 158 | ||
159 | int sdi_init_display(struct omap_dss_device *dssdev) | 159 | static int __init sdi_init_display(struct omap_dss_device *dssdev) |
160 | { | 160 | { |
161 | DSSDBG("SDI init\n"); | 161 | DSSDBG("SDI init\n"); |
162 | 162 | ||
@@ -187,6 +187,12 @@ static int __init omap_sdi_probe(struct platform_device *pdev) | |||
187 | if (dssdev->type != OMAP_DISPLAY_TYPE_SDI) | 187 | if (dssdev->type != OMAP_DISPLAY_TYPE_SDI) |
188 | continue; | 188 | continue; |
189 | 189 | ||
190 | r = sdi_init_display(dssdev); | ||
191 | if (r) { | ||
192 | DSSERR("device %s init failed: %d\n", dssdev->name, r); | ||
193 | continue; | ||
194 | } | ||
195 | |||
190 | r = omap_dss_register_device(dssdev, &pdev->dev, i); | 196 | r = omap_dss_register_device(dssdev, &pdev->dev, i); |
191 | if (r) | 197 | if (r) |
192 | DSSERR("device %s register failed: %d\n", | 198 | DSSERR("device %s register failed: %d\n", |