diff options
Diffstat (limited to 'drivers/video/omap2/dss/display.c')
-rw-r--r-- | drivers/video/omap2/dss/display.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/display.c b/drivers/video/omap2/dss/display.c index 6a74ea116d29..71389630b108 100644 --- a/drivers/video/omap2/dss/display.c +++ b/drivers/video/omap2/dss/display.c | |||
@@ -392,7 +392,9 @@ void dss_init_device(struct platform_device *pdev, | |||
392 | int r; | 392 | int r; |
393 | 393 | ||
394 | switch (dssdev->type) { | 394 | switch (dssdev->type) { |
395 | #ifdef CONFIG_OMAP2_DSS_DPI | ||
395 | case OMAP_DISPLAY_TYPE_DPI: | 396 | case OMAP_DISPLAY_TYPE_DPI: |
397 | #endif | ||
396 | #ifdef CONFIG_OMAP2_DSS_RFBI | 398 | #ifdef CONFIG_OMAP2_DSS_RFBI |
397 | case OMAP_DISPLAY_TYPE_DBI: | 399 | case OMAP_DISPLAY_TYPE_DBI: |
398 | #endif | 400 | #endif |
@@ -413,9 +415,11 @@ void dss_init_device(struct platform_device *pdev, | |||
413 | } | 415 | } |
414 | 416 | ||
415 | switch (dssdev->type) { | 417 | switch (dssdev->type) { |
418 | #ifdef CONFIG_OMAP2_DSS_DPI | ||
416 | case OMAP_DISPLAY_TYPE_DPI: | 419 | case OMAP_DISPLAY_TYPE_DPI: |
417 | r = dpi_init_display(dssdev); | 420 | r = dpi_init_display(dssdev); |
418 | break; | 421 | break; |
422 | #endif | ||
419 | #ifdef CONFIG_OMAP2_DSS_RFBI | 423 | #ifdef CONFIG_OMAP2_DSS_RFBI |
420 | case OMAP_DISPLAY_TYPE_DBI: | 424 | case OMAP_DISPLAY_TYPE_DBI: |
421 | r = rfbi_init_display(dssdev); | 425 | r = rfbi_init_display(dssdev); |