summaryrefslogtreecommitdiff
path: root/drivers/video/mmp/hw/mmp_ctrl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/mmp/hw/mmp_ctrl.c')
-rw-r--r--drivers/video/mmp/hw/mmp_ctrl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/video/mmp/hw/mmp_ctrl.c b/drivers/video/mmp/hw/mmp_ctrl.c
index 1b5d29992313..4bd31b2af398 100644
--- a/drivers/video/mmp/hw/mmp_ctrl.c
+++ b/drivers/video/mmp/hw/mmp_ctrl.c
@@ -535,6 +535,12 @@ static int mmphw_probe(struct platform_device *pdev)
}
}
+#ifdef CONFIG_MMP_DISP_SPI
+ ret = lcd_spi_register(ctrl);
+ if (ret < 0)
+ goto failed_path_init;
+#endif
+
dev_info(ctrl->dev, "device init done\n");
return 0;